fleetlint Policy for a fleet of repositories
v0.8
Getting started

quality/mutation-gate/rust

Mutation testing runs on the core

Implements quality/mutation-gate for rust.

Severityinfo
Tiers1
Stacksrust
Scoperoot
Kindoutcome
Sourcelibrary v0.5.0
Selected byfleetlint-recommended@v0.5.0

Requirement

cargo-mutants runs on the core crates, 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

Run cargo mutants on the core crates weekly (.cargo/mutants.toml for exclusions).

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


Generated by fleetlint docs from catalog v0.5.0.