quality/mutation-gate/python
Mutation testing runs on the core
Implements quality/mutation-gate for python.
| Severity | info |
| Tiers | 1 |
| Stacks | python |
| Scope | root |
| Kind | outcome |
| Source | library v0.8.0 |
| Selected by | fleetlint-recommended@v0.8.0 |
Requirement
mutmut (or cosmic-ray) runs on the core packages, 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
Configure [tool.mutmut] in pyproject.toml for the core package and run mutmut run weekly.
Agent instruction (from quality/mutation-gate): 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 that names no file points at pyproject.toml.
Sources
- https://fleetlint.org/baseline/#tests (convention)
- https://mutmut.readthedocs.io/en/latest/ (spec)
- https://fleetlint.org/stacks/#python
Generated by fleetlint docs from catalog v0.8.0.