mutation testing
TRANSCRIPT
I want you to increase the
test coverage of our legacy systems from 0% to more
than 50%…no matter how!
OK!
Mutation testing: process
1. Modify production code
• Modifications are called mutations
2. After each mutation -> Run test suite
3. If the suite passes -> Mutation has survived
4. If the suite fails -> Mutation killed!
New metric: mutation coverage