Eureka/tools/fixtures/tiny-crate/mutants.txt
Meta Vens 60a09dc17c Tools: ygg-verify summary and wait modes, mutation-table runner, shared test parser
SUMMARY=<log> keeps the full log and prints a bounded verdict summary;
wait <log> blocks at most 270 s and returns it once. mutation-table.sh runs
hand mutants in one verify job and returns a kill table. testparse.sh is the
one parser for both. Fixtures: real cargo and mutation logs from Yggdrasil
(tiny-crate), plus hand-written dotnet, vitest, pytest, exit-0-but-failed and
no-verdict logs. Every commit here builds; verified live on Yggdrasil.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-01 15:09:07 +02:00

40 lines
696 B
Text

Fixture for tools/mutation-table.sh. Expected: add-minus CAUGHT by add_adds,
even-flip CAUGHT by even_detects, clamp-positive SURVIVED (no test reads the
positive branch), add-typo UNVIABLE (with BUILD='cargo test --no-run'),
ghost NOAPPLY. Run with TEST='cargo test' BUILD='cargo test --no-run'.
=== add-minus
file: src/lib.rs
--- before
a + b
--- after
a - b
=== even-flip
file: src/lib.rs
test: cargo test even_
--- before
n % 2 == 0
--- after
n % 2 == 1
=== clamp-positive
file: src/lib.rs
--- before
else { n }
--- after
else { n + 1 }
=== add-typo
file: src/lib.rs
--- before
a + b
--- after
a + c
=== ghost
file: src/lib.rs
--- before
this text is nowhere
--- after
x