Skip to content
Latchkey

What Is a Mutation Score Threshold?

A mutation score threshold is a configured minimum for the share of injected code mutations that a test suite catches. Mutation testing deliberately introduces small faults and checks whether tests fail in response; the score is the fraction killed. The threshold fails a build when too many mutations survive undetected.

Why it matters

Mutation score reveals whether tests truly assert behavior, exposing high-coverage suites that never check results. The threshold turns that into an enforceable quality bar, though mutation runs are compute-heavy.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →