summaryrefslogtreecommitdiffstats
path: root/test/coverage/html_formatter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/coverage/html_formatter.rb')
-rw-r--r--test/coverage/html_formatter.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/coverage/html_formatter.rb b/test/coverage/html_formatter.rb
index d242a00f0..03932035c 100644
--- a/test/coverage/html_formatter.rb
+++ b/test/coverage/html_formatter.rb
@@ -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