Skip to content

v0.1.4

Choose a tag to compare

@github-actions github-actions released this 04 Oct 04:22
· 54 commits to main since this release
f1178ea

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 all reports a mutant on a line no test reaches as no coverage without
    running it, scored like a survivor. Needs --godot.
    (#297,
    #298)
  • --coverage-analysis per-file does that, then runs each mutant against only the test files that
    reach it. Needs --runner gdunit4 or --runner gut.
    (#299)
  • --coverage-self-check N|all sets 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 as reprieved. --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 ERROR line included, so a mutant could get the wrong verdict. My
    stopgap was PYTHONUTF8=1, which no user of the published CLI should need.
    (#309)
  • The HTML report's "survived" filter no longer includes no coverage mutants.
    (#300)
  • The HTML report's file index counts survived and no-coverage mutants together.
    (#300)

Full Changelog: v0.1.3...v0.1.4