Skip to content

Commit

Permalink
Merge pull request #59 from kbrock/test_coverage
Browse files Browse the repository at this point in the history
Don't test coverage of tests
  • Loading branch information
kbrock committed Jun 6, 2020
2 parents f9dc2a9 + 71b0082 commit 5b9c8e6
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion test/helpers.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
require 'coveralls'
Coveralls.wear!
require 'simplecov'
require 'coveralls'

# Use this formatter instead if you want to see coverage locally:
#
# SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
# SimpleCov::Formatter::HTMLFormatter,
# Coveralls::SimpleCov::Formatter
# ])

SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
add_filter 'test'
end

$LOAD_PATH << File.join(File.dirname(__FILE__), '..', 'lib')
require 'ruport'
Expand Down

0 comments on commit 5b9c8e6

Please sign in to comment.