Skip to content
SPECIFICTION
Get listed

Cosmic Ray vs MutPy

Cosmic Ray

cosmic-ray.readthedocs.io

MutPy

github.com

Side by side

FigureCosmic RayMutPy
Price from—Free
Free plan—Yes
Free trial——
Open source——
LinuxYesYes
Self-hostedYesYes
Plans published01
Spec score · Mutation Testing Tools7.5 (#13)7.9 (#7)
Intended usersThe documentation presents Cosmic Ray for Python projects whose teams want to check whether their test suites meaningfully verify code behavior.PyPI classifies the package for developers and software testing.
LicenseThe project repository identifies the software as MIT licensed.The project is licensed under the Apache License, Version 2.0.
PurposeCosmic Ray is a mutation testing tool for Python 3 that makes small changes to production code and runs the test suite against each change.MutPy is a mutation testing tool for Python source code that evaluates the quality of software tests.
ReportsCosmic Ray provides `cr-report` for session summaries and `cr-html` for generating an HTML report that shows the mutation used.MutPy can generate YAML and HTML reports and colorful console output.
Test runnersThe documentation shows test commands using `unittest` and says `pytest` and `nose` can stop after a failing test with the `-x` option.It supports unittest by default and pytest experimentally.

Plans

Cosmic Ray

No plans published.

Cosmic Ray pricing →

MutPy

  • MutPyFree

MutPy pricing →

In their own words

Cosmic Ray

Cosmic Ray has no write-up on Specifiction yet; its figures are above.

Visit cosmic-ray.readthedocs.io

MutPy

MutPy is a mutation testing tool for Python that checks whether a test suite catches changes to its source code. It creates mutations at the abstract syntax tree level, then runs tests to reveal which changes go undetected. The project describes compatibility with Python 3.3 and later. It uses unittest by default, while pytest support is experimental. Reports can be generated in YAML or HTML, and coverage analysis can restrict mutation to code exercised by tests. Users can also select or disable operators and sample a percentage of mutants. MutPy supports higher order mutations and includes standard and experimental operator sets. Installation is documented through pip from PyPI or from the repository source. The software is free at free and licensed under Apache License 2.0. PyPI lists version 0.6.1, released November 17, 2019, as the latest release. The README warns that disabling stdout can damage tests that interact with sys.stdout.

Visit github.com