Wrapping a dev command
Use wrap to run a Suitener check, print one summary line, then start another command with normal terminal IO.
suitener wrap "bun run dev"Behavior:
- The test check runs before the child command starts.
- The child command inherits stdin, stdout, and stderr.
- Results still land in
suitener-results/latest.json. SIGINTandSIGTERMare forwarded to the child process.- The child process exit code becomes the CLI exit code.
Passing check:
suitener 2 tests / 2 pass / 0 failGenerated stubs:
suitener 1 stub generated / suitener-results/latest.json