added Rcov formatter for simplecov

This commit is contained in:
nilsding 2015-01-25 19:56:39 +01:00
parent 626cedca0e
commit 6d68da5ae1
3 changed files with 18 additions and 1 deletions

View File

@ -78,7 +78,9 @@ group :development, :test do
gem 'faker'
gem 'capybara'
gem 'poltergeist'
gem 'simplecov'
gem 'simplecov', require: false
gem 'simplecov-json', require: false
gem 'simplecov-rcov', require: false
gem 'database_cleaner'
end

View File

@ -284,6 +284,11 @@ GEM
multi_json (~> 1.0)
simplecov-html (~> 0.8.0)
simplecov-html (0.8.0)
simplecov-json (0.2)
json
simplecov
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
sinatra (1.4.5)
rack (~> 1.4)
rack-protection (~> 1.4)
@ -399,6 +404,8 @@ DEPENDENCIES
sdoc (~> 0.4.1)
sidekiq
simplecov
simplecov-json
simplecov-rcov
sinatra
spring
sweetalert-rails

View File

@ -1,4 +1,12 @@
require 'simplecov'
require 'simplecov-json'
require 'simplecov-rcov'
SimpleCov.formatters = [
SimpleCov::Formatter::HTMLFormatter,
SimpleCov::Formatter::JSONFormatter,
SimpleCov::Formatter::RcovFormatter
]
SimpleCov.start
require 'capybara/poltergeist'