Skip to content

Instantly share code, notes, and snippets.

@igkuz
Created February 6, 2014 13:55
Show Gist options
  • Select an option

  • Save igkuz/8844641 to your computer and use it in GitHub Desktop.

Select an option

Save igkuz/8844641 to your computer and use it in GitHub Desktop.
require 'bundler/setup'
Bundler.require
require 'minitest/autorun'
require 'webmock/minitest'
# colorize test output
require 'minitest/pride'
Minitest::PrideIO.pride!
require 'coveralls'
Coveralls.wear! do
add_filter '/test/'
end
Bundler.require
# requiring helpers
Dir[ File.join( File.dirname(__FILE__), "helpers/*.rb")].each { |file| require file }
class TestCase < Minitest::Test
include ConfigurationHelper
include FixturesHelper
end
# requiring all project files for correct coverage
Dir[ File.join( File.dirname(__FILE__), "../lib/**/*.rb")].each { |file| require file }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment