Mutation testing

48 views
Skip to first unread message

Gustavo Matias

unread,
Dec 12, 2013, 9:36:18 AM12/12/13
to clean-code...@googlegroups.com
Hi Clean Coders,

Besides than watching cleancoders videos I have been listening to a podcast that I highly recommend: http://rubyrogues.com/. Although I'm not a Ruby guy, they have some really interesting discussions like software craftsmanship, discipline, SOLID, code reading, and much more.. 

In one of their discussions, they mention about Mutation Testing and I decided to give it a try. I used a tool called Pitest (http://pitest.org/) and the results were quite impressive in my opinion. I feel like this is a kind of technique that basically "test your tests", and shows how much coverage you've got and where you don't have your code covered with unit tests. 

Although I think that if you carefully use techniques like "fake it until you make it", "test first" and "assert first" you have a high probability of having your code close to 100% covered, it's a really interesting technique, so I just wanted to throw this out there and maybe see if anybody has any thoughts on this.

Thanks!
Reply all
Reply to author
Forward
0 new messages