Vote #81447
完了Output test coverage report to the console
0%
説明
Redmine has its own html formatter for SimpleCow. Would be great to see "default generated report":https://github.com/simplecov-ruby/simplecov-html/blob/3a30b47964e74ac810edc02629d420fa1cb1bc12/lib/simplecov-html.rb#L31 in console log for LOC coverage.
It's useful for collecting metrics in gitlab.
journals
--------------------------------------------------------------------------------
Here is a sample output after applying the patch.
<pre>
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.
</pre>
--------------------------------------------------------------------------------
Committed the patch. Thank you.
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Admin Redmine さんが4年以上前に更新
- カテゴリ を Code cleanup/refactoring_30 にセット
- 対象バージョン を 5.0.0_155 にセット