Mutation testing is a process to verify the correctness of our tests. It adds a new metric, "mutation coverage", that complements the line coverage to improve our software.
4. Is there any other (automatic) way
to measure the quality of our tests?
Mutation Testing!
5. 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