Awesome Reviewers

Verification · Testing · Mutation testing

Diff-scoped mutation

Mutate only lines changed in the PR to keep runtime bounded.

How to build it

  1. Limit the mutation run to lines changed in the pull request using the tool's diff or changed-files option.
  2. Run it on one critical module first to measure runtime.
  3. 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 repos
  • mutmut · 1 repos

Examples