Add simplecov

This commit is contained in:
Erik Michaels-Ober 2011-05-08 12:43:23 -07:00
parent bb02f26d3e
commit 2862f1c77b
4 changed files with 32 additions and 4 deletions

29
.gitignore vendored
View File

@ -1,6 +1,27 @@
.bundle
db/*.sqlite3
log/*.log
tmp/
*.gem
*.rbc
*.un~
.*.sw[a-z]
.DS_Store
.Spotlight-V100
.Trashes
._*
.bundle
.config
.rvmrc
.yardoc
Icon?
InstalledFiles
Session.vim
_yardoc
coverage
db/*.sqlite3
doc/
lib/bundler/man
log/*.log
pkg/
rdoc/
spec/reports
test/tmp
test/version_tmp
tmp/

View File

@ -13,6 +13,7 @@ platforms :jruby do
end
group :test do
gem 'simplecov'
gem 'turn', :require => false
end

View File

@ -88,6 +88,9 @@ GEM
thor (~> 0.14.6)
rake (0.8.7)
sass (3.1.1)
simplecov (0.4.2)
simplecov-html (~> 0.4.4)
simplecov-html (0.4.4)
sprockets (2.0.0.beta.2)
hike (~> 1.0)
rack (~> 1.0)
@ -116,5 +119,6 @@ DEPENDENCIES
pg
rails (= 3.1.0.beta1)
sass
simplecov
therubyracer-heroku (= 0.8.1.pre3)
turn

View File

@ -1,3 +1,5 @@
require 'simplecov'
SimpleCov.start 'rails'
ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'