Skip to content

Commit

Permalink
Add skipped mutants in detailed html report
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChampagne-Elapse committed Apr 4, 2024
1 parent 39d0102 commit 3483190
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions mutmut/cache.py
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,11 @@ def print_diffs(status):
f.write('Mutants that made the test suite take longer, but otherwise seemed ok')
print_diffs(OK_SUSPICIOUS)

if mutants_by_status[SKIPPED]:
f.write('<h2>Skipped</h2>')
f.write('Mutants that were skipped')
print_diffs(SKIPPED)

f.write('</body></html>')

index_file.write('</table></body></html>')
Expand Down

0 comments on commit 3483190

Please sign in to comment.