quality/mutation-gate/hugo
Mutation testing runs on the core
Implements quality/mutation-gate for hugo.
| Severity | info |
| Tiers | 1 |
| Stacks | hugo |
| Scope | root |
| Kind | expr |
| Source | library v0.7.0 |
| Selected by | fleetlint-recommended@v0.7.0 |
Requirement
A Hugo site has templates and content, not code under test; scripts in the site are checked as their own stack.
Why
Coverage says a line ran; a surviving mutant says the tests would not notice if it were wrong.
Applies when
falseCheck
trueFix
Add the stack’s mutation tool for the core packages, as a mutate target run weekly or on release (see https://fleetlint.org/stacks/).
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.
Sources
- https://fleetlint.org/baseline/#tests (convention)
- https://fleetlint.org/stacks/#hugo–static-sites (convention)
Generated by fleetlint docs from catalog v0.7.0.