Repository navigation
v0.1.3
What's Changed
Upgrading from 0.1.2: expect different mutant counts and scores on the same code. Floats, hex and binary numbers now get mutants, and node paths no longer do (see Fixed). That is gdmutant measuring more accurately, not your tests getting worse.
Removed
--report-pathand thereport-pathconfig key. gdmutant now finds the GdUnit4 or GUT report itself. Remove the flag from any script that passes it, since it is now an error. A leftover config key only prints a warning. (#267)
Changed
- File paths use forward slashes on every operating system, in the console lines that name a mutated file and in the JSON and HTML reports'
fileskeys. If a Windows script of yours reads those, expectsrc/player.gdrather thansrc\player.gd. A path you typed that gdmutant could not read or write is still echoed as typed. (#267, #272, #282, #283) --jsonand--htmlnow print the report's full path after writing it. (#267)
Added
gdmutant initwrites a starter.gdmutant.toml, and setsrunnerwhen it finds gdUnit4 or GUT installed. It won't overwrite an existing file without--force. (#263)--jobs autopicks a worker count from your CPU count, and on Linux and macOS holds off starting extra workers while the machine is busy. (#254)- The GitHub Action has a
commandinput forrunner: command, instead of passing the command throughargs. (#249) - The HTML report links to the project's GitHub page, and Frank, the mascot, winks. (#253)
Fixed
- Every number is now mutated, not just whole decimal integers. Floats, hex, binary and
1_000_000-style literals used to get no mutants at all, so an untested speed, timing or threshold could never show up as a survivor. (#265) - The
/in a node path ($Sprite2D/Label) and the%in a unique node name (%HealthBar) are no longer mutated as division and modulo. Those mutants pointed at a different node instead of changing any math. (#265) - A number literal over 4300 digits long no longer crashes the run. (#272)
- A parallel run no longer announces more workers than the file has mutants. (#282)
Full Changelog: v0.1.2...v0.1.3