test/minitest_helper.rb in tracker_api-1.14.0 vs test/minitest_helper.rb in tracker_api-1.15.0
- old
+ new
@@ -1,9 +1,11 @@
#Bundler.require(:test)
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
-require 'simplecov'
-SimpleCov.start
+if ENV['COVERAGE'] == 'true'
+ require 'simplecov'
+ SimpleCov.start
+end
require 'minitest/byebug' if ENV['DEBUG']
require 'minitest/autorun'
require 'mocha'