Start of main content
Testing your test
Most of the developers create different unit tests to validate some part of the code and increment the percentage of code coverage. Everything looks great at the beginning but when someone introduces changes in the code and the test continues working well the problems appear. Mutation testing is a great way to validate what happens when you introduce different modifications in your code dynamically and see what happens with the result. If the test continues showing that everything it’s okay, your code has some problem. Pitest is a great tool that provides the developer the possibility to know the quality of their test. This tool offers the possibility to see different types of reports and integrate with some quality tools like Sonar.