プロジェクト

全般

プロフィール

Vote #81447

完了

Output test coverage report to the console

Admin Redmine さんが4年以上前に追加. 4年以上前に更新.

ステータス:
Closed
優先度:
通常
担当者:
-
カテゴリ:
Code cleanup/refactoring_30
対象バージョン:
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
30
version_id:
155
issue_org_id:
35259
author_id:
399232
assigned_to_id:
332
comments:
5
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

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 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0