Report example / Calculator

Two changes.
No test caught them.

Start with the survivors. Each diff shows a change that passed the test suite.

Sample data in the website theme. The CLI’s self-contained HTML report has its own presentation.

66.7% mutation score · 4 / (4 + 2)
6 total 4 killed 2 survived 0 no_coverage 0 uncapturable 0 ignored 0 skipped 0 errored

Per-source

FileScoreKilledSurvivedNo coverage
test/fixtures/calculator.rb66.7%420

Surviving Mutants

Calculator#add

test/fixtures/calculator.rb:5 · arithmetic · aa8840680d3e
--- a/test/fixtures/calculator.rb
+++ b/test/fixtures/calculator.rb
@@ -5 +5 @@
-    a + b
+    a - b

Calculator#subtract

test/fixtures/calculator.rb:9 · arithmetic · 6de3fd46a40a
--- a/test/fixtures/calculator.rb
+++ b/test/fixtures/calculator.rb
@@ -9 +9 @@
-    a - b
+    a + b