quality/mutation-gate/dotnet
Mutation testing runs on the core
Implements quality/mutation-gate for dotnet.
| Severity | info |
| Tiers | 1 |
| Stacks | dotnet |
| Scope | root |
| Kind | outcome |
| Source | library v0.6.0 |
| Selected by | fleetlint-recommended@v0.6.0 |
Requirement
Stryker.NET runs on the core projects, from the task runner or a workflow.
Why
Coverage says a line ran; a surviving mutant says the tests would not notice if it were wrong.
Fix
Add Stryker.NET as a dotnet tool (stryker-config.json with a break threshold) and run dotnet stryker weekly.
Agent instruction: Add a mutate target that runs the stack’s mutation tool on the core packages with a survivor threshold, and a weekly workflow that calls it.
A finding of this rule points at stryker-config.json.
Sources
- https://fleetlint.org/baseline/#tests (convention)
- https://stryker-mutator.io/docs/stryker-net/introduction/ (spec)
- https://fleetlint.org/stacks/#net
Generated by fleetlint docs from catalog v0.6.0.