Skip to content

Commit

Permalink
enable to skip loading simplecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin91 committed Mar 19, 2017
1 parent 4fdb9a0 commit 844e090
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
require 'simplecov'
require 'coveralls'
begin
require 'simplecov'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start
rescue LoadError => e
warn e.message
end

require 'minitest/autorun'
require 'byebug'
Expand Down

0 comments on commit 844e090

Please sign in to comment.