simplecov added

This commit is contained in:
Devin Howard 2016-01-26 17:53:10 +08:00
parent caa65c1170
commit b3f8f6652a
4 changed files with 18 additions and 1 deletions

2
.gitignore vendored
View file

@ -19,6 +19,8 @@ vendor/
log/*.log log/*.log
tmp tmp
coverage
.DS_Store .DS_Store
*/.DS_Store */.DS_Store
.DS_Store? .DS_Store?

3
.simplecov Normal file
View file

@ -0,0 +1,3 @@
require 'simplecov-rcov'
SimpleCov.formatter = SimpleCov::Formatter::RcovFormatter
SimpleCov.start 'rails'

View file

@ -42,6 +42,8 @@ group :test do
gem 'rspec-rails' gem 'rspec-rails'
gem 'factory_girl_rails' gem 'factory_girl_rails'
gem 'shoulda-matchers' gem 'shoulda-matchers'
gem 'simplecov', require: false
gem 'simplecov-rcov'
end end
group :production do #this is used on heroku group :production do #this is used on heroku

View file

@ -78,6 +78,7 @@ GEM
thread_safe (~> 0.1) thread_safe (~> 0.1)
warden (~> 1.2.3) warden (~> 1.2.3)
diff-lcs (1.2.5) diff-lcs (1.2.5)
docile (1.1.5)
dotenv (2.0.2) dotenv (2.0.2)
erubis (2.7.0) erubis (2.7.0)
execjs (2.6.0) execjs (2.6.0)
@ -203,6 +204,13 @@ GEM
tilt (>= 1.1, < 3) tilt (>= 1.1, < 3)
shoulda-matchers (3.0.1) shoulda-matchers (3.0.1)
activesupport (>= 4.0.0) activesupport (>= 4.0.0)
simplecov (0.11.1)
docile (~> 1.1.0)
json (~> 1.8)
simplecov-html (~> 0.10.0)
simplecov-html (0.10.0)
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
slop (3.6.0) slop (3.6.0)
sprockets (3.4.0) sprockets (3.4.0)
rack (> 1, < 3) rack (> 1, < 3)
@ -258,9 +266,11 @@ DEPENDENCIES
rspec-rails rspec-rails
sass-rails sass-rails
shoulda-matchers shoulda-matchers
simplecov
simplecov-rcov
tunemygc tunemygc
uglifier uglifier
uservoice-ruby uservoice-ruby
BUNDLED WITH BUNDLED WITH
1.10.6 1.11.2