Verification · Testing · Mutation testing
Diff-scoped mutation
Mutate only lines changed in the PR to keep runtime bounded.
How to build it
- Limit the mutation run to lines changed in the pull request using the tool's diff or changed-files option.
- Run it on one critical module first to measure runtime.
- Run the diff-scoped mutation job as a separate pull request check with a time limit.
Signals in a repository
- A stryker or mutmut configuration with paths or incremental mode set.
- A CI job that passes a changed-files list or git diff range to the mutation tool.
In practice
4 repositories run a tool for this check in the scanned set.
stryker· 3 reposmutmut· 1 repos
Examples
-
diegosouzapw/OmniRoute ·
strykerstryker run --config-file stryker.disablebail.json --mutate $BATCH_MUTATE -
BerriAI/litellm ·
mutmutmutmut run 2>&1