Answer product-owner round 2: 0 🔴, 1 🟡 (0 misread); run Stryker only where a package.json is above a file, and name the files with none in a Not mutated line

This commit is contained in:
2026-11-11 21:50:16 +01:00
parent f70bed52fe
commit 563e8cdc3c
3 changed files with 26 additions and 9 deletions
+3 -2
View File
@@ -14,8 +14,8 @@ or __tests__/ folder.
process reaches, such as a tool a test starts, shows as `no tests`. A pyproject.toml with a [tool.mutmut] section fails the run.
- .rs: cargo-mutants, as `cargo mutants --in-diff`, in the checkout's top.
- .cjs, .cts, .js, .jsx, .mjs, .mts, .ts, .tsx: Stryker, as `npx --no stryker run --mutate` on the changed lines, in the nearest
folder above the file that holds a package.json, else in the checkout's top. Through --no, npx runs only a Stryker the project
installed.
folder above the file that holds a package.json. A file with no package.json above it isn't mutated. Through --no, npx runs only
a Stryker the project installed.
- .php: Infection, as `vendor/bin/infection --git-diff-lines`, in the checkout's top.
--prefix is shell text that runs each tool: sh runs `<prefix> "$@"` in the tool's folder, which $PWD names, with the tool's command
@@ -33,6 +33,7 @@ It prints:
- for cargo-mutants, a line with the mutant count, then a line per mutant it missed or that timed out, as
`<path>:<line>:<column>: <outcome>: <mutation>`;
- for Stryker and Infection, a line naming the folder the tool ran in, then the tool's own report;
- a line naming the changed JavaScript and TypeScript files with no package.json above them;
- a line naming the changed files in a language no tool covers, then one naming the changed test files, none of which it mutates;
- last, the wall time.