Repository navigation
v0.1.4
What's Changed
Coverage analysis is new, and off by default (--coverage-analysis off). Two changes reach every
run anyway: gdmutant's own work per mutant is faster, and a mutant's time budget is rebuilt.
Upgrading from 0.1.3: a verdict can change
Only runs with timeouts are affected. Old budget against new, same mutants: 0 of 18 verdicts changed
on the bundled corpus across three configurations, 1 of 41 on one file of a real game project, and
no survivor anywhere became a timeout, which is what would raise a score. Compare 0.1.4 scores
against 0.1.4 scores.
ADR-0020
has the table.
Added
--coverage-analysis allreports a mutant on a line no test reaches asno coveragewithout
running it, scored like a survivor. Needs--godot.
(#297,
#298)--coverage-analysis per-filedoes that, then runs each mutant against only the test files that
reach it. Needs--runner gdunit4or--runner gut.
(#299)--coverage-self-check N|allsets how many of those decisions are re-run against the whole suite.
(#298,
#299)
Changed
- A mutant's time budget is built from measured parts, not one multiplier on the baseline run. One
that runs past it is re-run once before it counts as a hang, reported asreprieved.--timeout
overrides both and turns that second run off.
(#306) - The check that a mutant is still valid GDScript skips position data it never used, so gdmutant's
own work per mutant is faster. Time inside Godot is unchanged.
(#292)
Fixed
- Captured child-process output is decoded as UTF-8, not the machine's code page. A whole stream
could vanish silently,SCRIPT ERRORline included, so a mutant could get the wrong verdict. My
stopgap wasPYTHONUTF8=1, which no user of the published CLI should need.
(#309) - The HTML report's "survived" filter no longer includes
no coveragemutants.
(#300) - The HTML report's file index counts survived and no-coverage mutants together.
(#300)
Full Changelog: v0.1.3...v0.1.4