Skip to content

Commit

Permalink
NOJIRA Adding simplecov for test coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
croby committed Jan 25, 2012
1 parent b7cae97 commit bf53473
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ test_can_be_deleted/
.sass-cache/
.DS_Store
config/initializers/mailer_settings.rb
coverage/
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ group :test do
gem 'capybara'
gem 'database_cleaner'
gem 'flexmock'
gem 'simplecov'
end

# Assets for Rails 3.1
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,10 @@ GEM
ffi (~> 1.0.9)
multi_json (~> 1.0.4)
rubyzip
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sinatra (1.3.2)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
Expand Down Expand Up @@ -242,6 +246,7 @@ DEPENDENCIES
ruby-debug19 (= 0.11.6)
rubyzip
sass-rails (~> 3.1.5)
simplecov
sqlite3
therubyracer
uglifier
Expand Down
3 changes: 3 additions & 0 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start 'rails'

ENV["RAILS_ENV"] = "test"
require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help'
Expand Down

0 comments on commit bf53473

Please sign in to comment.