Browse Source

test coverage analytics

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
5d55c3ae29
  1. 9
      .gitignore
  2. 1
      Gemfile
  3. 5
      Gemfile.lock
  4. 2
      spec/spec_helper.rb

9
.gitignore vendored

@ -11,7 +11,8 @@ config/settings/*.local.yml
config/environments/*.local.yml config/environments/*.local.yml
config/settings.yml config/settings.yml
public/assets public/assets
/spec/.views/ spec/.views/
/spec/.requests/ spec/.requests/
/spec/.controllers/ spec/.controllers/
/spec/.helpers/ spec/.helpers/
coverage

1
Gemfile

@ -46,6 +46,7 @@ end
group :test do group :test do
gem 'capybara', '~> 1.1.1' gem 'capybara', '~> 1.1.1'
gem 'database_cleaner', '~> 0.6.7' gem 'database_cleaner', '~> 0.6.7'
gem 'simplecov', :require => false
gem 'spork', '~> 0.9.0.rc' gem 'spork', '~> 0.9.0.rc'
gem 'rb-fsevent', '~> 0.4.3.1' gem 'rb-fsevent', '~> 0.4.3.1'
gem 'rb-inotify', '~> 0.8.8' gem 'rb-inotify', '~> 0.8.8'

5
Gemfile.lock

@ -200,6 +200,10 @@ GEM
multi_json (~> 1.0.4) multi_json (~> 1.0.4)
rubyzip rubyzip
sentient_user (0.3.2) sentient_user (0.3.2)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
spork (0.9.0.rc9) spork (0.9.0.rc9)
sprockets (2.0.3) sprockets (2.0.3)
hike (~> 1.2) hike (~> 1.2)
@ -257,6 +261,7 @@ DEPENDENCIES
rspec-rails (~> 2.6.1) rspec-rails (~> 2.6.1)
sass-rails (~> 3.1.0) sass-rails (~> 3.1.0)
sentient_user (~> 0.3.2) sentient_user (~> 0.3.2)
simplecov
spork (~> 0.9.0.rc) spork (~> 0.9.0.rc)
squeel (~> 0.9.3) squeel (~> 0.9.3)
therubyracer therubyracer

2
spec/spec_helper.rb

@ -14,5 +14,7 @@ Spork.prefork do
end end
Spork.each_run do Spork.each_run do
require 'simplecov'
SimpleCov.start 'rails'
FactoryGirl.reload FactoryGirl.reload
end end

Loading…
Cancel
Save