Repository navigation
Releases: sQVe/mutation
Release list
v0.1.3
v0.1.2
v0.1.1
v0.1.0
Minor Changes
- #1
734e5e2
Thanks @sQVe! - Add themutationcommand. It runs StrykerJS on the
lines a Git diff changes, or on whole files, with the Vitest or the Bun runner, and prints a JSON
report. The package also exports thetauMessageIgnorerStryker plugin as
@sqve/mutation/ignorer.
Patch Changes
-
#3
1fdd236
Thanks @sQVe! - Leave files that the Stryker config'signorePatterns
ignores out of the changed scope, matching Stryker's own rules, instead of reporting them as
unmutated. With--same-folder-tests, refuse an unsupported runner before any folder runs, even
when a changed file's folder has no tests. -
#4
53c5db9
Thanks @sQVe! - Matchmutateglobs that start with./or../, and
absolute globs, for both inclusion and!exclusion, as Stryker does. Before, such a config
silently dropped every changed file. With--same-folder-testsand the Bun runner, ignore a
top-leveltestFilesin the config, so only the tests in the folder run. Refuse a config that
names an ignorer other thantauMessageIgnorerwhen--max-mutantsor--same-folder-testsis
set, because the mutant count cannot apply it.Fail the status for a false survivor, as for a survivor. A static mutant that makes a Vitest test
skip itself looks the same as a test file load failure in Stryker's report, so it can no longer
hide a real survivor.