Patch #35259

Test coverage report

Added by Dmitry Makurin about 1 month ago. Updated 19 days ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:Candidate for next major release

Description

Redmine has its own html formatter for SimpleCow. Would be great to see default generated report in console log for LOC coverage.
It's useful for collecting metrics in gitlab.

Adds_report_of_LOC_coverage.patch Magnifier (847 Bytes) Dmitry Makurin , 2021-05-19 13:20

History

#1 Updated by Go MAEDA 19 days ago

  • Target version set to Candidate for next major release

#2 Updated by Go MAEDA 19 days ago

Here is a sample output after applying the patch.

laphroaig:redmine-trunk maeda$ bin/rake test:coverage
<snip>
..................................................................................................

Finished in 904.378688s, 5.5817 runs/s, 24.7385 assertions/s.
5048 runs, 22373 assertions, 0 failures, 0 errors, 8 skips

You have skipped tests. Run with --verbose for details.
Coverage report generated for Minitest to /path/to/redmine/coverage. 21915 / 23875 LOC (91.79%) covered.

Also available in: Atom PDF