Skip to main content

test mutations for pytest.

Project description

mutation

beta

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mutation-0.4.5.tar.gz (11.5 kB view hashes)

Uploaded Source

Built Distribution

mutation-0.4.5-py3-none-any.whl (11.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page