Skip to content

vrthra/xmutant.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.