mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 07:40:12 +01:00
re-add simplecov by request
This commit is contained in:
parent
07a3962d7d
commit
bba86e51d7
5 changed files with 16 additions and 3 deletions
1
Gemfile
1
Gemfile
|
|
@ -70,6 +70,7 @@ group :test do
|
||||||
#gem "capybara-screenshot"
|
#gem "capybara-screenshot"
|
||||||
#gem "launchy"
|
#gem "launchy"
|
||||||
|
|
||||||
|
gem "simplecov"
|
||||||
# get test coverage info on codeclimate
|
# get test coverage info on codeclimate
|
||||||
gem "codeclimate-test-reporter", group: :test, require: nil
|
gem "codeclimate-test-reporter", group: :test, require: nil
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -62,7 +62,7 @@ GEM
|
||||||
xpath (~> 2.0)
|
xpath (~> 2.0)
|
||||||
childprocess (0.3.9)
|
childprocess (0.3.9)
|
||||||
ffi (~> 1.0, >= 1.0.11)
|
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)
|
simplecov (>= 0.7.1, < 1.0.0)
|
||||||
coffee-rails (4.0.0)
|
coffee-rails (4.0.0)
|
||||||
coffee-script (>= 2.2.0)
|
coffee-script (>= 2.2.0)
|
||||||
|
|
@ -130,7 +130,7 @@ GEM
|
||||||
bundler (>= 1.3.0, < 2.0)
|
bundler (>= 1.3.0, < 2.0)
|
||||||
railties (= 4.0.0)
|
railties (= 4.0.0)
|
||||||
sprockets-rails (~> 2.0.0)
|
sprockets-rails (~> 2.0.0)
|
||||||
rails_autolink (1.1.3)
|
rails_autolink (1.1.4)
|
||||||
rails (> 3.1)
|
rails (> 3.1)
|
||||||
railties (4.0.0)
|
railties (4.0.0)
|
||||||
actionpack (= 4.0.0)
|
actionpack (= 4.0.0)
|
||||||
|
|
@ -139,7 +139,7 @@ GEM
|
||||||
thor (>= 0.18.1, < 2.0)
|
thor (>= 0.18.1, < 2.0)
|
||||||
rake (10.1.0)
|
rake (10.1.0)
|
||||||
ref (1.0.5)
|
ref (1.0.5)
|
||||||
rspec-expectations (2.14.2)
|
rspec-expectations (2.14.3)
|
||||||
diff-lcs (>= 1.1.3, < 2.0)
|
diff-lcs (>= 1.1.3, < 2.0)
|
||||||
rubyzip (0.9.9)
|
rubyzip (0.9.9)
|
||||||
safe_yaml (0.9.7)
|
safe_yaml (0.9.7)
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,10 @@
|
||||||
require "codeclimate-test-reporter"
|
require "codeclimate-test-reporter"
|
||||||
CodeClimate::TestReporter.start
|
CodeClimate::TestReporter.start
|
||||||
|
|
||||||
|
# local test coverage
|
||||||
|
require 'simplecov'
|
||||||
|
SimpleCov.start 'rails'
|
||||||
|
|
||||||
require 'cucumber/rails'
|
require 'cucumber/rails'
|
||||||
require 'aruba/cucumber'
|
require 'aruba/cucumber'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,10 @@
|
||||||
require "codeclimate-test-reporter"
|
require "codeclimate-test-reporter"
|
||||||
CodeClimate::TestReporter.start
|
CodeClimate::TestReporter.start
|
||||||
|
|
||||||
|
# local test coverage
|
||||||
|
require 'simplecov'
|
||||||
|
SimpleCov.start 'rails'
|
||||||
|
|
||||||
ENV["RAILS_ENV"] = "test"
|
ENV["RAILS_ENV"] = "test"
|
||||||
require 'test/unit'
|
require 'test/unit'
|
||||||
require 'mocha/setup'
|
require 'mocha/setup'
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,10 @@ ENV["RAILS_ENV"] ||= "test"
|
||||||
require "codeclimate-test-reporter"
|
require "codeclimate-test-reporter"
|
||||||
CodeClimate::TestReporter.start
|
CodeClimate::TestReporter.start
|
||||||
|
|
||||||
|
# local test coverage
|
||||||
|
require 'simplecov'
|
||||||
|
SimpleCov.start 'rails'
|
||||||
|
|
||||||
require File.expand_path('../../config/environment', __FILE__)
|
require File.expand_path('../../config/environment', __FILE__)
|
||||||
require 'rails/test_help'
|
require 'rails/test_help'
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue