Feature #35259
Output test coverage report to the console
Status: | Closed | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | % Done: | 0% | ||
Category: | Code cleanup/refactoring | |||
Target version: | 5.0.0 | |||
Resolution: | Fixed |
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.
Associated revisions
Output test coverage report to the console (#35259).
Patch by Dmitry Makurin.
History
#1
Updated by Go MAEDA about 1 year ago
- Target version set to Candidate for next major release
#2
Updated by Go MAEDA about 1 year 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.