re-add simplecov by request

This commit is contained in:
Reinier Balt 2013-09-23 16:49:59 +02:00
parent 07a3962d7d
commit bba86e51d7
5 changed files with 16 additions and 3 deletions

View file

@ -70,6 +70,7 @@ group :test do
#gem "capybara-screenshot"
#gem "launchy"
gem "simplecov"
# get test coverage info on codeclimate
gem "codeclimate-test-reporter", group: :test, require: nil
end

View file

@ -62,7 +62,7 @@ GEM
xpath (~> 2.0)
childprocess (0.3.9)
ffi (~> 1.0, >= 1.0.11)
codeclimate-test-reporter (0.0.11)
codeclimate-test-reporter (0.1.1)
simplecov (>= 0.7.1, < 1.0.0)
coffee-rails (4.0.0)
coffee-script (>= 2.2.0)
@ -130,7 +130,7 @@ GEM
bundler (>= 1.3.0, < 2.0)
railties (= 4.0.0)
sprockets-rails (~> 2.0.0)
rails_autolink (1.1.3)
rails_autolink (1.1.4)
rails (> 3.1)
railties (4.0.0)
actionpack (= 4.0.0)
@ -139,7 +139,7 @@ GEM
thor (>= 0.18.1, < 2.0)
rake (10.1.0)
ref (1.0.5)
rspec-expectations (2.14.2)
rspec-expectations (2.14.3)
diff-lcs (>= 1.1.3, < 2.0)
rubyzip (0.9.9)
safe_yaml (0.9.7)

View file

@ -8,6 +8,10 @@
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
# local test coverage
require 'simplecov'
SimpleCov.start 'rails'
require 'cucumber/rails'
require 'aruba/cucumber'

View file

@ -2,6 +2,10 @@
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
# local test coverage
require 'simplecov'
SimpleCov.start 'rails'
ENV["RAILS_ENV"] = "test"
require 'test/unit'
require 'mocha/setup'

View file

@ -4,6 +4,10 @@ ENV["RAILS_ENV"] ||= "test"
require "codeclimate-test-reporter"
CodeClimate::TestReporter.start
# local test coverage
require 'simplecov'
SimpleCov.start 'rails'
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'