Feature #35259
closed
Output test coverage report to the console
Added by Dmitry Makurin over 3 years ago.
Updated about 3 years ago.
Category:
Code cleanup/refactoring
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.
Files
- Target version set to Candidate for next major release
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.
- Subject changed from Test coverage report to Output test coverage report to the console
- Status changed from New to Closed
- Assignee set to Go MAEDA
- Target version changed from Candidate for next major release to 5.0.0
Committed the patch. Thank you.
- Tracker changed from Patch to Feature
- Resolution set to Fixed
- Category set to Code cleanup/refactoring
Also available in: Atom
PDF