ref: 28eb3eaa3173f0a9cfcd22c2cabe6d0c87f50dfa mutation/README.md -rw-r--r-- 657 bytes
28eb3eaaAmirouche v0.4.4 - can skip with 's'. 7 months ago



mutation check that tests are robust.

pip install mutation
mutation play tests.py --include="src/*.py" --exclude="tests.py"
mutation replay

Both --include and --exclude are optional but highly recommended to avoid the production of useless mutations. mutation will only mutate code that has test coverage, hence it works better with a high coverage.

mutation will detect whether the tests can be run in parallel. It is recommended to make the test suite work in parallel to speed up the work of mutation.

Also, it is better to work with a random seed, otherwise add the option --randomly-seed=n that works.