Repository navigation
v0.1.5
What's Changed
This release makes parallel runs faster and more accurate, and lets you skip slow GdUnit4 tests. Three of these changes come from @normanthesquid. Thank you.
Before you upgrade
--jobs N now runs your tests in an empty user:// (the folder Godot keeps a game's saved data in). If your tests rely on files already sitting in your real user://, the run now stops with a message. Have the tests create those files, or use --jobs 1. (#318)
Parallel runs (--jobs N, which tests N mutants at a time)
- Workers are now shared across all source files, so they no longer wait between files. This change alone doesn't change any score. (#334, thanks @normanthesquid)
- Each worker now gets its own
user://, so tests that write there no longer collide. Before, that could make a mutant your tests missed count as caught, so the score could be too high. If you used--jobs Nand your tests write touser://, run again to get the right score. (#318) - A file outside
--projectis now refused before any tests run, even when it has no mutants. (#346)
Skipping slow tests (GdUnit4)
- The new
--exclude-tests <entry>flag leaves tests out of a run. An entry is a suite name, part of ares://path, orsuite:test. You can also setexclude-testsin.gdmutant.toml. GUT and command runs refuse the flag, and ignore the setting with a note. (#335, thanks @normanthesquid)
Other changes
- A test command that floods its output (
--runner command) no longer runs gdmutant out of memory. (#333, thanks @normanthesquid) .gdmutant.tomlcan now setprojectto its own folder, such asproject = ".", without--trust-config. Any other folder still needs it. (#324)- The progress line now ends on the right count, and prints it once. (#345)
New Contributors
- @normanthesquid made their first contribution in #333
Full Changelog: v0.1.4...v0.1.5