* trying rcov formatter for jenkins integration (VRFS-1103)
This commit is contained in:
parent
d20713144e
commit
b534a1e757
|
|
@ -1,5 +1,15 @@
|
|||
if ENV['COVERAGE'] == "1"
|
||||
|
||||
require 'simplecov-rcov'
|
||||
class SimpleCov::Formatter::MergedFormatter
|
||||
def format(result)
|
||||
SimpleCov::Formatter::HTMLFormatter.new.format(result)
|
||||
SimpleCov::Formatter::RcovFormatter.new.format(result)
|
||||
end
|
||||
end
|
||||
|
||||
SimpleCov.formatter = SimpleCov::Formatter::MergedFormatter
|
||||
|
||||
SimpleCov.start do
|
||||
add_filter "/test/"
|
||||
add_filter "/bin/"
|
||||
|
|
|
|||
|
|
@ -44,6 +44,7 @@ gem 'builder'
|
|||
|
||||
group :test do
|
||||
gem 'simplecov', '~> 0.7.1'
|
||||
gem 'simplecov-rcov'
|
||||
gem 'factory_girl', '4.1.0'
|
||||
gem "rspec", "2.11"
|
||||
gem 'spork', '0.9.0'
|
||||
|
|
|
|||
|
|
@ -115,7 +115,6 @@
|
|||
"JK.RecordingManagerCommandProgress",
|
||||
"JK.RecordingManagerCommandStop",
|
||||
"JK.RecordingManagerCommandsChanged"
|
||||
|
||||
)
|
||||
|
||||
return this;
|
||||
|
|
|
|||
Loading…
Reference in New Issue