Created
August 3, 2020 19:04
-
-
Save Eduard-gan/8d210a7c1cda63871071690b57dbc22b to your computer and use it in GitHub Desktop.
Mutmut usage
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pip install mutmut | |
mutmut run --runner 'python -m pytest -x tests/test_quiz.py' --paths-to-mutate business_logic/credit_history_quiz.py | |
mutmut results # Shows munants IDs (X here) | |
mutmut show X # Shows diff metant/original | |
mutmut apply X # Applies change from mutant to file | |
То stop certain line from mutation (Annoying on log lines) apply whitelisting comment on it: # pragma: no mutate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment