Mutmut

Latest version: v3.2.3

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 8

3.2.3

~~~~~

* Crash with error message on invalid imports for `src` module

* Autodetect simpler project configurations with `test_*.py` in the dir directly

* Handle filenames (as opposed to dirnames) in paths_to_mutate

* Also copy `setup.cfg` and `pyproject.toml` by default

* Handle single line `paths_to_mutate`

3.2.2

~~~~~

* Fixed crash when running `mutmut results`

3.2.1

~~~~~

* Read `paths_to_mutate` from config file

* Mutate `break` to `return` to avoid timeouts

* Added debug mode. Enable with `debug=True` in `setup.cfg` under `[mutmut]`

* Fixed new test detection. The old code incorrectly detected new tests when there were none, creating a much slower interaction loop for fixing mutants.

* And many more fixes

3.2.0

~~~~~

* Timeouts for mutants implemented.

* Browser: syntax highlighting for diff view

* More fixes for generators.

* Fix for `src`-style layout of projects.

* Fixed bug where mutmut would recollect all tests on every run, slowing down startup.

3.1.0

~~~~~

* Correctly handle mutation for generator functions (`yield`).

* Fixed so that `from __future__` lines are always first.

* If no stats are collected exit directly, as that is a breaking error for mutation testing.

* Changed name mangling to make mutants less likely to trigger name-based python magic, like in pytest where functions named `test_*` have special meaning.

3.0.5

~~~~~

* Another attempt to get the pypi package to work

Page 1 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.