Sha256: 99d7848e6e1675d893714db3cec8f4a53d4dd8f59f9207b6ff47c173851aabb2

Contents?: true

Size: 614 Bytes

Versions: 5

Compression:

Stored size: 614 Bytes

Contents

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

module MiniTestReportersTest
  class TestCase < MiniTest::Unit::TestCase
  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

5 entries across 5 versions & 1 rubygems

Version Path
minitest-reporters-0.14.2 test/test_helper.rb
minitest-reporters-0.14.1 test/test_helper.rb
minitest-reporters-0.14.0 test/test_helper.rb
minitest-reporters-0.13.1 test/test_helper.rb
minitest-reporters-0.13.0 test/test_helper.rb