Cosmic Ray is a mutation testing tool for Python. It runs tests against mutated versions of your code to assess test suite quality. Current version 8.4.6. Release cadence is irregular with several minor releases per year.
pip install cosmic-rayNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quickstart: Run cosmic-ray mutation testing on a module using pytest as the test runner.
Update to new CLI syntax: `cosmic-ray test --tests pytest --executor local my_module.py`
Replace `--baseline` with `--timeout` (value in seconds).
Always include `--executor local` for local execution.
Install with pip: `pip install cosmic-ray`. Import with: `import cosmic_ray`.
Use `from cosmic_ray.cli import main` instead of `from cosmic_ray import main`.