Kylee Tilley @testingrequired.com · May 2

My entire test framework for this C project is a single bash file. - E2E - Snapshot testing - Asserts expected stdout, stderr, exit code - Inputs per test file: stdin, env vars Right now I have 429 tests generated from 143 *.lox files.

1 likes 2 replies

?

Replies

Kylee Tilley · May 6

Here is that test bash script. Planned enhancements: - Option to run tests in parallel - Output TAP report - Watch mode

Kylee Tilley · May 2

It's all file based too. Source File: ./file.lox Input Files: - stdin: ./file.lox.in - env vars: ./file.lox.env Expected Outputs: - stdout: ./file.lox.out - stderr: ./file.lox.err - exit code: ./file.lox.exit It makes writing tests really easy.