One of the problems when testing a mutation is that it is slow, because by default you run a full test run (either a test file or a set of test files) for each mutation you create.
One way to speed up mutation testing is to stop the test run for a given mutant after one failure is detected (but only during mutation testing). Even better would be for the mutation tester to remember what was the first test to kill the last mutant and give it to the first mutant. Is there anything in ruby ββthat does any of these things, or is this the best way to start beheading monkeys?
(Yes, I know that unit tests should be fast. And showing all failed tests is useful outside mutation testing, as it helps you not only identify something wrong, but exactly where it goes wrong)
Edit : I am currently using heckle with test / unit. If the test / block cannot remember which tests fail between runs, perhaps a heckle or something working heckle might remember it.
ruby unit-testing mutation-testing
Andrew Grimm
source share