Structs§
- Test
Case - A single test case extracted from a test_* variable
Functions§
- extract_
test_ cases - Extract test_* variable definitions from the AST.
Scans source text for
// => expectedtrailing comments. - generate_
test_ code - Generate Zig test code from test cases.
If a test case has an expected value (from
// => valuecomment), generates an assertion; otherwise generates a smoke test (call + discard).