Skip to main content

What is mutant?

Mutant is a simple mutation testing framework for Python. It is currently only a proof of concept.

What is mutation testing?

Mutation testing is a method for determining how complete your unit tests are. A small mutation is introduced into your code (e.g. a ‘<’ is changed to a ‘<=’) and then your tests are run. If your tests still pass then the code which was changed was (probably) not being completely tested.

How does mutant work?

Given a module, mutant will iterate over all of its top-level functions, modifying their bytecode to introduce mutations and then making sure that the module’s doctests fail.

To run:

$ python mutant.py <MODULE-NAME>

Metadata

Release files for mutant 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mutant 0.1
File Size Uploaded Provenance
mutant-0.1.tar.gz 4.6 kB Without provenance Details

Release files / mutant-0.1.tar.gz

Download URL mutant-0.1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
06c7f0a146783b879f8bbc113105afe73754a917789a645ba29662cbd054c12c
BLAKE2b-256 checksum
How to use checksums
f686d40e66b2db96060d58a6da9995da6d2a0037294588a0e86f83f5ae36e7b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for mutant 0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.1 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page