ref: 33d6b69218766b88b227b4566a9112835eb0a2fb mutation/README.md -rw-r--r-- 686 bytes
33d6b692Amirouche v0.4.5 7 months ago



mutation check that tests are robust.

pip install mutation
mutation play tests.py --include="src/*.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.