Mutation Test Result 🎉 8 ⏰ 0 🤔 0 🙁 4 🔇 12
Legend for output: 🎉 Killed mutants. The goal is for everything to end up in this bucket. ⏰ Timeout. Test suite took 10 times as long as the baseline so were killed. 🤔 Suspicious. Tests took a long time, but not long enough to be fatal. 🙁 Survived. This means your tests need to be expanded. 🔇 Skipped. Skipped.
| File | 🎉 Killed | 🙁 Survived | % killed/(killed + survived) |
|---|---|---|---|
| pipenv-project/src/calculator.py | 0 | 0 | - |
| pipenv-project/src/domain/book.py | 2 | 0 | 100.00 |
| pipenv-project/src/fizz_buzz.py | 6 | 4 | 60.00 |
List of tests used for mutation
- pipenv-project/tests/test_calculator.py
- pipenv-project/tests/model/test_book.py
- pipenv-project/tests/test_fizz_buzz.py
※ 🙁 Survived, ⏰Timeout, 🤔Suspicious are shown below.
pipenv-project/src/fizz_buzz.py
Survived mutation testing. These mutants show holes in your test suite.
@@ -1,5 +1,5 @@
def fizz_buzz(n):
- if n % 15 == 0: #
+ if n / 15 == 0: #
return "fizz buzz" #
if n % 3 == 0:@@ -1,5 +1,5 @@
def fizz_buzz(n):
- if n % 15 == 0: #
+ if n % 16 == 0: #
return "fizz buzz" #
if n % 3 == 0:@@ -1,5 +1,5 @@
def fizz_buzz(n):
- if n % 15 == 0: #
+ if n % 15 == 1: #
return "fizz buzz" #
if n % 3 == 0:@@ -1,6 +1,6 @@
def fizz_buzz(n):
if n % 15 == 0: #
- return "fizz buzz" #
+ return "XXfizz buzzXX" #
if n % 3 == 0:
return "fizz"