mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 07:10:12 +01:00
Add test coverage generation using simplecov
This commit is contained in:
parent
a32f928fc8
commit
066c378705
4 changed files with 11 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -22,3 +22,4 @@ tags
|
|||
/.bundle
|
||||
/public/assets/
|
||||
.sass-cache/
|
||||
/coverage
|
||||
|
|
|
|||
1
Gemfile
1
Gemfile
|
|
@ -48,6 +48,7 @@ group :development do
|
|||
gem "yard"
|
||||
gem "tolk"
|
||||
gem "bullet"
|
||||
gem "simplecov"
|
||||
end
|
||||
|
||||
group :test do
|
||||
|
|
|
|||
|
|
@ -162,6 +162,10 @@ GEM
|
|||
libwebsocket (~> 0.1.3)
|
||||
multi_json (~> 1.0)
|
||||
rubyzip
|
||||
simplecov (0.7.1)
|
||||
multi_json (~> 1.0)
|
||||
simplecov-html (~> 0.7.1)
|
||||
simplecov-html (0.7.1)
|
||||
sprockets (2.2.2)
|
||||
hike (~> 1.2)
|
||||
multi_json (~> 1.0)
|
||||
|
|
@ -221,6 +225,7 @@ DEPENDENCIES
|
|||
sanitize
|
||||
sass-rails
|
||||
selenium-webdriver
|
||||
simplecov
|
||||
sqlite3
|
||||
swf_fu
|
||||
therubyracer
|
||||
|
|
|
|||
|
|
@ -1,3 +1,6 @@
|
|||
require 'simplecov'
|
||||
SimpleCov.start 'rails'
|
||||
|
||||
ENV["RAILS_ENV"] = "test"
|
||||
require File.expand_path('../../config/environment', __FILE__)
|
||||
require 'rails/test_help'
|
||||
|
|
@ -129,4 +132,4 @@ class ActionController::IntegrationTest
|
|||
end
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue