Commit Graph

8 Commits

Author SHA1 Message Date
Johann Schopplich
14a8cb132e test(cli): mock console and stdout write 2025-11-24 16:21:01 +01:00
Johann Schopplich
7a05d03e73 test(cli) add streaming events coverage 2025-11-22 08:53:47 +01:00
Johann Schopplich
9ebad53ea3 feat(cli): stream output for both encoding and decoding 2025-11-21 16:52:34 +01:00
Johann Schopplich
1c003c6118 feat(cli): memory-efficient streaming for encoding 2025-11-21 14:02:22 +01:00
cy
f798bba095 test(cli): add tests for stdin input (#107)
* test(cli): add tests for stdin input

* test(cli): extract mock stdin to helper function

* test(cli): add comprehensive tests for stdin edge cases and output file handling

* refactor(test): streamline mockStdin function and relocate to utils

* test(cli): remove redundant test for JSON encoding from stdin

* test(cli): restore mocks consistently

* test(cli):  restructured output file tests and modified some assertions

* chore: fix linting issues & remove redundant cleanups

---------

Co-authored-by: mad-cat-lon <113548315+mad-cat-lon@users.noreply.github.com>
Co-authored-by: Johann Schopplich <mail@johannschopplich.com>
2025-11-11 17:35:52 +01:00
Johann Schopplich
e8ae024e54 feat!: remove optional length marker option [#N] in favor of [N] 2025-11-10 17:28:49 +01:00
Johann Schopplich
cdb90585fa test(cli): add tests for invalid values 2025-11-04 10:17:20 +01:00
Johann Schopplich
af298537a4 test(cli): add basic test suite 2025-11-04 07:45:50 +01:00