Sha256: bb1eb19b30f93c85083a3c7b0faeac9815870199d0221a8f0d1667dd5920f5bb

Contents?: true

Size: 724 Bytes

Versions: 11

Compression:

Stored size: 724 Bytes

Contents

require "bundler/setup"
require "minitest/autorun"
require "minitest/reporters"

ENV['MINITEST_REPORTERS_MONO'] = 'yes'
module MinitestReportersTest
  class TestCase < Minitest::Test
  end
end

# Testing the built-in reporters using automated unit testing would be extremely
# brittle. Consequently, there are no unit tests for them.  If you'd like to run
# all the reporters sequentially on a fake test suite, run `rake gallery`.

if ENV["REPORTER"] == "Pride"
  require "minitest/pride"
elsif ENV["REPORTER"]
  reporter_klass = Minitest::Reporters.const_get(ENV["REPORTER"])
  Minitest::Reporters.use!(reporter_klass.new)
else
  Minitest::Reporters.use!(Minitest::Reporters::DefaultReporter.new)
end

Version data entries

11 entries across 11 versions & 2 rubygems

Version Path
minitest-reporters-1.3.6 test/test_helper.rb
nullifyable-0.1.0 vendor/bundle/gems/minitest-reporters-1.3.5/test/test_helper.rb
minitest-reporters-1.3.5 test/test_helper.rb
minitest-reporters-1.3.5.beta1 test/test_helper.rb
minitest-reporters-1.3.4 test/test_helper.rb
minitest-reporters-1.3.3 test/test_helper.rb
minitest-reporters-1.3.2 test/test_helper.rb
minitest-reporters-1.3.2.beta2 test/test_helper.rb
minitest-reporters-1.3.2.beta1 test/test_helper.rb
minitest-reporters-1.3.1 test/test_helper.rb
minitest-reporters-1.3.1.beta1 test/test_helper.rb