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:
parent
37d3f3faa9
commit
985450347e
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user