4 ms·
I was just about to bring up mutation testing. I've had some pretty great success with PIT [1] when writing Java. Code coverage and mutation test coverage pair
by whymarrh 6y ago
I was just about to bring up mutation testing. I've had some pretty great success with PIT [1] when writing Java. Code coverage and mutation test coverage pair wonderfully together.
[1]:https://pitest.org
- g14i 6y agowhymarrh, great that you mentioned PIT. This is exactly what we use for Java as well. For Python we use mutmut [1]. [1] - https://pypi.org/project/mutmut/ https://pypi.org/project/mutmut/
- boxed 6y agoMutmut author here. Great to hear you're using mutmut! I think it's pretty important that we who know about MT and have used it keep talking about it. It's a pretty great tool that more people should have in their tool belt.
- TeaVMFan 6y agoMutation coverage definitely improves the testing process. It is much harder to accidentally write bad tests once you are using a tool like PIT: https://frequal.com/java/HighQualityTestsWithPitMutationTesting.html https://frequal.com/java/HighQualityTestsWithPitMutationTest...