Mutiny
A tiny mutation testing framework for Ruby. Used for exploring research ideas. For more stable and complete mutation testing in Ruby, use mutant.
Currently supports Ruby versions of these method level mutation operators.
Usage
git clone
this repobundle install
./bin/mutiny ./examples/max.rb ./examples/max_tests.rb
Note that we currently assume that tests.rb is a line-separated set of predicates (expressions that evaluate to either true or false).
Acknowledgments
Thank-you to the authors of other projects and resources that have inspired mutiny, including:
- Markus Schirp's mutant, which paved the way for modern mutation testing in Ruby. In particular, mutiny's RSpec integration is based on the Markus's stellar work on mutant.