Add code coverage to tests
This commit is contained in:
@@ -2,6 +2,18 @@
|
||||
|
||||
require File.expand_path(File.dirname(__FILE__) + '/../../../test/test_helper')
|
||||
|
||||
require 'simplecov'
|
||||
require 'simplecov-rcov'
|
||||
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
|
||||
SimpleCov::Formatter::HTMLFormatter,
|
||||
SimpleCov::Formatter::RcovFormatter
|
||||
]
|
||||
|
||||
SimpleCov.start :rails do
|
||||
root File.expand_path(File.dirname(__FILE__) + '/..')
|
||||
end
|
||||
|
||||
module RedmineMessenger
|
||||
class TestCase
|
||||
include ActionDispatch::TestProcess
|
||||
|
||||
Reference in New Issue
Block a user