Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Mutant 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. This is a rewrite on top of Rubinius.
Ruby
tree: 28c440272b

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
exe
lib
spec
.gitignore
.rspec
.rvmrc
.travis.yml
Gemfile
Rakefile
Readme.md
mutant.gemspec

Readme.md

mutant Build Status Dependency Status

Mutant 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.

Largely based on heckle, this is a rewrite on top of Rubinius.

Usage

mutate "ClassName#method_to_test" spec

To test a class method, use:

mutate "ClassName.class_method_to_test" spec

Development roadmap

As an experiment, I've set up a public Trello board with the development roadmap up to the 1.0 release. You can vote and comment cards to give constructive feedback to the project. Just have a look and leave a comment! :)

Who's this

This project was originally created by @justinko (derived from this gist by @dkubb) and is released under the MIT license. I am pleased to be the current maintainer :) I'm @txustice on twitter (where you should probably follow me!).

Something went wrong with that request. Please try again.