Skip to content

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 21 Sep 03:01
· 80 commits to main since this release
955fbe8

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-path and the report-path config 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' files keys. If a Windows script of yours reads those, expect src/player.gd rather than src\player.gd. A path you typed that gdmutant could not read or write is still echoed as typed. (#267, #272, #282, #283)
  • --json and --html now print the report's full path after writing it. (#267)

Added

  • gdmutant init writes a starter .gdmutant.toml, and sets runner when it finds gdUnit4 or GUT installed. It won't overwrite an existing file without --force. (#263)
  • --jobs auto picks 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 command input for runner: command, instead of passing the command through args. (#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