Talk: Testing The Tests: Mutation Testing for C++
Do you know how good your tests are at catching bugs? Are you using approximate metrics that don't really show whether functionality is validated? What if you could actually test your tests’ bug-catching ability?
Inserting bugs into your code on purpose and seeing how many get caught is a way to do just that. This is the core idea of Mutation Testing. I’ll give an introduction to different ways of inserting bugs, the advantages of the technique and challenges in building the tools, finishing off with a deep dive into the design of a few new bug-inserting mutations for C++.