Hacker News new | ask | show | jobs
Hunt the Bugs with Mutation Testing (sipios.com)
3 points by julienmaring 1748 days ago
1 comments

Mutation plays an important role in evolution. It can be beneficial, harmful, or neutral, depending on its context or location.

In programming, mutations also exist and as with life the effects can be the same and lead to terrible bugs. Therefore, it is important to test your application to prevent these mutations from causing disaster.

Some metrics exist and allow us to assess the quality of our tests. This is the case with code coverage but reaching 100% of code coverage does not mean that your code is properly tested. It only means that all lines are executed at least once during the tests. I just published my first article talking about an alternative called Mutation Testing and how I used it in my work to increase the quality of the tests.

Is it the same thing as fuzzing?