Mutmut

Latest version: v2.4.4

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

Scan your dependencies

Page 1 of 7

2.4.3

~~~~~

* Fix for a big where worker cycling would just hang mutmut (thanks Jan Królikowski!)

2.4.2

~~~~~

* Fix bug with init db on wrong function (thanks Samuel Razzell)

* Fixed junitxml line number, daemon warning, and missing argument in unit test (thanks Samuel Razzell)

2.4.1

~~~~~

* Support paths with path separators

* Disable spinner in no-progress mode

2.4.0

~~~~~

* Add pyproject support (thanks sed-i)

* Change very small or very large numbers (floats) by a relative amount (thanks Peter Hill)

This avoids (some) problems with unkillable mutants, for example:

1e16 -> 1e+16

which now becomes

1e16 -> 2e+16

* Fix inconsistent output of `mutmut show` after using `--enable-mutation-types` (thanks Andreas Finkler)

* Improve test selection through ``pre_mutation(context)`` (thanks Andreas Finkler)

* Remove `--cache-only` option and second argument to `mutmut show` (thanks Andreas Finkler)

2.3.0

~~~~~

* Add `--disable-mutation-types` and `--enable-mutation-types` to control what types of mutations are performed

* Fixed error where ``mutmut_config.init()`` was not called when running without explicitly having set ``PYTHONPATH``

* Use ``Click``'s subcommand feature to refactor the command line interface. For the end user, this can now run ``mutmut [COMMAND] -h``
to check which parameters are relevant to this specific subcommand. The change is backwards compatible, and all existing commands
work the same as before, with the exception of ``mutmut --version``, which now has to be ``mutmut version``.

* You can now set the ``context.config.test_command`` in the ``mutmut_config.pre_mutation(context)`` hook to select the relevant subset of tests.
Coverage contexts are now accessible in ``config.coverage_data`` to help with the selection.

2.2.0

~~~~~

* Add ability to update progress output only after test passes (`--no-progress`)

* Added option `--simple-output` to disable usage of emojis in output

* Fixed the total mutants and killed column in html report (184)

* Fixed paths_to_exclude config parsing

* Stricter error code check for test runners. The previous check sometimes counted no tests as a killed mutant

* Misc fixes

Page 1 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.