Post #523053
2026-02-23 21:03 UTC
Rudimentary TDD in #jq/#jaq:
1. Choose an input; make a text file for it.
2. Figure out the expected output; make a text file for it.
3. `diff expected.txt =(cat input.txt | jaq -L "lib" 'main_filter')`
It seems like real work to run multiple tests together, but this is a start.
Replies (0)
No replies.