Skip to content

Latest commit

 

History

History
73 lines (58 loc) · 1.95 KB

File metadata and controls

73 lines (58 loc) · 1.95 KB
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.py00-
pipenv-project/src/domain/book.py20100.00
pipenv-project/src/fizz_buzz.py6460.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

Survived mutation testing. These mutants show holes in your test suite.

Line number:2

@@ -1,5 +1,5 @@
 def fizz_buzz(n):
-    if n % 15 == 0:  #
+    if n / 15 == 0:  #
         return "fizz buzz"  #
 
     if n % 3 == 0:

Line number:2

@@ -1,5 +1,5 @@
 def fizz_buzz(n):
-    if n % 15 == 0:  #
+    if n % 16 == 0:  #
         return "fizz buzz"  #
 
     if n % 3 == 0:

Line number:2

@@ -1,5 +1,5 @@
 def fizz_buzz(n):
-    if n % 15 == 0:  #
+    if n % 15 == 1:  #
         return "fizz buzz"  #
 
     if n % 3 == 0:

Line number:3

@@ -1,6 +1,6 @@
 def fizz_buzz(n):
     if n % 15 == 0:  #
-        return "fizz buzz"  #
+        return "XXfizz buzzXX"  #
 
     if n % 3 == 0:
         return "fizz"