Who is testing your tests?
summary
Code coverage shows 100% code coverage but misses missing assertions and off-by-one property tests; mutation testing inserts tiny code changes and runs tests against each mutant. Running Stryker4s on a small library produces 150 mutants, takes ~37 seconds and yields a mutation score 68%, revealing survived mutants like changed comparisons and swapped forall/exists. Stryker4s uses mutation switching to compile once and toggle mutants, trading accuracy for practical speed.
AI-written summary · about
chapters (10)
- 0:00Start
- 4:51Property Testing
- 6:13Mutation Testing
- 9:55The Mutation Testing Tool
- 10:32Demo
- 11:21Code Coverage
- 13:56Mutation Score of 68
- 14:54Syntax Highlighting
- 17:00Developing a Mutation Testing Framework
- 20:29Mutation Switching
related talks
07mWho is Testing the Tests?
18mAttack of the mutants using mutation testing to improve your test suite
21mKilling Mutants with Mutation Testing
29mWho is testing the test?
38mMutants to the rescue: How effective are your unit tests?
22mKill All Mutants! (Introduction to Mutation Testing)
41mMutation testing in practice
47mMutation Testing: Did my test break my code ? 🤔
