Mutation testing
16
Mutation testing Raúl Ávila
-
Upload
raul-avila -
Category
Software
-
view
136 -
download
0
Transcript of Mutation testing
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