1
0
mirror of https://github.com/meineerde/redmine.git synced 2026-01-31 11:37:14 +00:00

Output test coverage report to the console (#35259).

Patch by Dmitry Makurin.


git-svn-id: http://svn.redmine.org/redmine/trunk@21080 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA 2021-07-25 07:15:09 +00:00
parent 37d3f3faa9
commit 985450347e

View File

@ -33,6 +33,11 @@ module Redmine
file.puts template('source').result(binding).force_encoding('utf-8')
end
end
puts output_message(result)
end
def output_message(result)
"Coverage report generated for #{result.command_name} to #{output_path}. #{result.covered_lines} / #{result.total_lines} LOC (#{result.covered_percent.round(2)}%) covered."
end
private