quality/mutation-gate/flutter
Mutation testing runs on the core
Implements quality/mutation-gate for flutter.
| Severity | info |
| Tiers | 1 |
| Stacks | flutter |
| Scope | root |
| Kind | outcome |
| Source | library v0.5.0 |
| Selected by | fleetlint-recommended@v0.5.0 |
Requirement
mutation_test runs on the core libraries, 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 the mutation_test package with a rules file for lib/ and run it 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 the file taskrunner.file != "" ? taskrunner.file : "Makefile" yields.
Sources
- https://fleetlint.org/baseline/#tests (convention)
- https://pub.dev/packages/mutation_test (spec)
- https://fleetlint.org/stacks/#flutter–dart
Generated by fleetlint docs from catalog v0.5.0.