heckle

Mutation tester (unit test sadism(tm)/test pentester) for Ruby

Install

All systems
curl cmd.cat/heckle.sh
Debian Debian
apt-get install ruby-heckle
Ubuntu
apt-get install ruby-heckle
Windows (WSL2)
sudo apt-get update sudo apt-get install ruby-heckle
Raspbian
apt-get install ruby-heckle

ruby-heckle

Mutation tester (unit test sadism(tm)/test pentester) for Ruby

Heckle is a mutation tester. It modifies your code and runs your tests to make sure they fail. The idea is that if code can be changed and your tests don't notice, either that code isn't being covered or it doesn't do anything. Think about it as pen-testing. It's like hiring a white-hat hacker to try to break into your server and making sure you detect it. You learn the most by trying to break things and watching the outcome in an act of unit test sadism.