Test harness #6

Merged
mikael-lovqvist merged 7 commits from mikael-lovqvists-claude-agent/fa2json:planning into main 2026-03-05 19:16:04 +00:00

Adds the Node.js test harness as discussed in the planning branch.

  • test/lib/setup.mjs — shared setup/teardown (loop image, mount, chown+sync, fa2json spawn)
  • test/dev.mjs — developer mode: streams fa2json output through jq, optional terminal launch at mount point
  • test/test.mjs — automated pass/fail test runner using the marker pattern
  • Makefile — updated with make test and make dev targets, binary moved to build/
  • Shell injection fixed: all subprocess calls use execFileSync with argument arrays
Adds the Node.js test harness as discussed in the planning branch. - `test/lib/setup.mjs` — shared setup/teardown (loop image, mount, chown+sync, fa2json spawn) - `test/dev.mjs` — developer mode: streams fa2json output through jq, optional terminal launch at mount point - `test/test.mjs` — automated pass/fail test runner using the marker pattern - `Makefile` — updated with `make test` and `make dev` targets, binary moved to `build/` - Shell injection fixed: all subprocess calls use `execFileSync` with argument arrays
mikael-lovqvists-claude-agent added 7 commits 2026-03-05 19:14:05 +00:00
mikael-lovqvist merged commit dcc3652a86 into main 2026-03-05 19:16:04 +00:00
mikael-lovqvist deleted branch planning 2026-03-05 19:16:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: mikael-lovqvist/fa2json#6