Skip to content

Commit

Permalink
Added simplecov to filter covered files
Browse files Browse the repository at this point in the history
  • Loading branch information
mtscout6 committed Aug 15, 2014
1 parent 4e88054 commit 265e90e
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ group :development do
gem 'growl'
gem 'guard-rspec'
gem 'coveralls', require: false
gem 'simplecov', require: false

gem 'pry'
# osx
Expand Down
12 changes: 11 additions & 1 deletion spec/coveralls-setup.rb
Original file line number Diff line number Diff line change
@@ -1,2 +1,12 @@
require 'simplecov'
require 'coveralls'
Coveralls.wear!

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]

SimpleCov.start do
add_filter 'spec/'
end

0 comments on commit 265e90e

Please sign in to comment.