Answer stability round 2: 1 🔴, 2 🟡 (0 misread); run Stryker as @stryker-mutator/core, pass an interrupted tool SIGINT before the kill, test SIGHUP, and print a failed Stryker or Infection run's whole report
CI / tests (pull_request) Successful in 2m24s
CI / tests (pull_request) Successful in 2m24s
This commit was merged in pull request #488.
This commit is contained in:
@@ -13,9 +13,9 @@ or __tests__/ folder.
|
||||
mutant; the report names their files. mutmut sees only the code a test runs in its own process, so a mutant that only a child
|
||||
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. A file with no package.json above it isn't mutated. Through --no, npx runs only
|
||||
a Stryker the project installed.
|
||||
- .cjs, .cts, .js, .jsx, .mjs, .mts, .ts, .tsx: Stryker, as `npx --no --package=@stryker-mutator/core stryker run --mutate` on the
|
||||
changed lines, in the nearest folder above the file that holds a package.json. A file with no package.json above it isn't
|
||||
mutated. npx runs the project's own @stryker-mutator/core, else one an earlier npx run cached, and installs none.
|
||||
- .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
|
||||
@@ -39,7 +39,8 @@ It prints:
|
||||
|
||||
Exit 1, saying why, on an unknown or repeated argument, an option without its value, or a --jobs that is no whole number from 1.
|
||||
Exit 1 too when git fails, a file cannot be read or copied, a tool cannot start, or a tool fails before it reports. Stryker and
|
||||
Infection also exit nonzero on a mutation score below a threshold the project sets, which fails the run as well.
|
||||
Infection also exit nonzero on a mutation score below a threshold the project sets, which fails the run as well and prints their
|
||||
whole report.
|
||||
"""
|
||||
import sys
|
||||
import time
|
||||
|
||||
Reference in New Issue
Block a user