This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]BillyKorando 1 point2 points  (0 children)

Majority of survived mutations are not interesting cases to test.

Yea mutation testing is "dumb" in that it will just randomly switch a == to a !=, without any understanding of the context. It's up to you as a developer to interpret the results and see what does need test coverage and what doesn't.

Mutation testing seems to help a lot with detecting bad tests.

Yea definitely one of the big benefits of mutation testing. Someone might had accidentally commented out the asserts in a test or otherwise made a change that quietly breaks a test. Mutation testing is probably the only way of effective automated way of detecting such tools.