Skip to content

vrthra/xmutant.py

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

The python 3.6 bytecode based mutation analysis framework

It also implements a partial mutant equivalence detector based on random sampling.

Interface for only doctests are implemented.

Usage

Ensure that your doctest test cases pass. Then execute

python3 ./xmutant/xmutant.py -a <tries> <module>

where tries is the number of random samples to be used to attempt to kill any mutant that is not killed by any given test cases.

See the simple branch for a simpler bare-minimum implementation if you are just interested in how this works.