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
| File | Score | Killed | Survived | No coverage |
|---|---|---|---|---|
| test/fixtures/calculator.rb | 66.7% | 4 | 2 | 0 |
Surviving Mutants
Calculator#add
--- a/test/fixtures/calculator.rb +++ b/test/fixtures/calculator.rb @@ -5 +5 @@ - a + b + a - b
Calculator#subtract
--- a/test/fixtures/calculator.rb +++ b/test/fixtures/calculator.rb @@ -9 +9 @@ - a - b + a + b