Sha256: 1775ac60a2e451b425502e3921a714a37a2d74925b7ed8c7d51c43f80e681915

Contents?: true

Size: 603 Bytes

Versions: 7

Compression:

Stored size: 603 Bytes

Contents

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

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"]
  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

7 entries across 7 versions & 1 rubygems

Version Path
minitest-reporters-1.0.3 test/test_helper.rb
minitest-reporters-1.0.2 test/test_helper.rb
minitest-reporters-1.0.1 test/test_helper.rb
minitest-reporters-1.0.0 test/test_helper.rb
minitest-reporters-1.0.0.beta3 test/test_helper.rb
minitest-reporters-1.0.0.beta2 test/test_helper.rb
minitest-reporters-1.0.0.beta1 test/test_helper.rb