nwyin/irradiate — mutation testing for Python

Run mutation testing on your Python project with irradiate. Auto-annotates survived mutants in PR diffs.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
versionirradiate version to install (e.g. '0.1.1'). Default: latest.no""
paths-to-mutateSource paths to mutate (space-separated). Overrides pyproject.toml.no""
tests-dirPath to test directory. Overrides pyproject.toml.no""
diffOnly mutate functions changed since this git ref (e.g. 'origin/main'). Great for PR checks.no""
fail-underFail the step if mutation score is below this percentage (0-100).no""
sampleTest a random subset of mutants. Values 0.0-1.0 are fractions, >1 are absolute counts.no""
reportGenerate a report ('json' or 'html').no""
report-outputOutput path for the report file.no""
workersNumber of parallel workers. Default: number of CPUs.no""
python-versionPython version to use. Default: '3.12'.no3.12
extra-argsAdditional arguments passed directly to `irradiate run`.no""
namedescription
scoreMutation score as a percentage (e.g. '85.7').
killedNumber of killed mutants.
survivedNumber of survived mutants.
totalTotal number of mutants tested.