Testing · Senior · Question 12 of 75
What does mutation testing (e.g. Stryker) measure?
- ✓Correct answer: Whether tests fail when the code is deliberately changed (mutants); surviving mutants reveal weak assertions
- 2How fast tests run after code changes
- 3Coverage of DOM mutations
Explanation
It answers what coverage can't: whether the executed code is actually verified. It's expensive, so it's usually run on critical modules.