Better Code Through Mutation Testing
Hello Folks!
I hope you’re having a relaxing holiday season. For myself, this is one of the busiest times of the year for work as Gusto helps its customers close out their years and get everyone paid.
This week, I’ve put together a blog post and Ruby gem around mutation testing. Mutation testing is the practice of programmatically changing code to see if it breaks. It’s a great practice to see how well-tested code is. “If I delete this line of code, will the tests still pass?”
The blog post is titled Better Code through Mutation Testing.
It has an accompanying Ruby gem called crude-mutant. Although it’s a gem, it will work on all languages not just Ruby. It draws inspiration from the much more full-featured, Ruby-specific mutant gem.
Happy Holidays and have a Happy New Year!
– Kelly