r/ruby • u/davidteren • Sep 30 '26
Mutineer 1.4.0 is out: mutation testing for Ruby
Hola, I maintain Mutineer, a Ruby mutation testing gem. It makes small changes to your code and checks whether your tests catch them.
Passing tests are useful. Knowing that they detect broken behaviour gives you more confidence, especially when AI helps write both the code and the tests.
Version 1.4.0 is out: https://davidteren.github.io/mutineer/
Do you use mutation testing in your Ruby projects? I’d be interested to hear what has helped or got in the way.
34
Upvotes
1
u/DissonantGuile Sep 30 '26
Cool! How does this compare to the mutant gem?
1
u/CaptainKabob Oct 02 '26
What does "clean-room" mean in its description? ("A clean-room mutation-testing tool for Ruby.")
2
u/nbom Oct 01 '26
I dont need this. My CTO/CEO is enough.
1
u/Web-Thinker Sep 30 '26
I was looking for this
1
u/Zestyclose_Cow1807 Oct 17 '26
the hardest part with mutation testing has always been equivalent mutants and the noise they generate. how do you handle that? filtering those out well is basically what makes or breaks the experience tbh