Sha256: ef74a72b319e16da12f46b64eff7e3994424b4ba4c5f66876ca9aa62947c7512

Contents?: true

Size: 682 Bytes

Versions: 8

Compression:

Stored size: 682 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)
  MiniTest::Reporters.use!(MiniTest::Reporters::DefaultReporter.new)
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
minitest-reporters-0.14.24 test/test_helper.rb
minitest-reporters-0.14.23 test/test_helper.rb
minitest-reporters-0.14.22 test/test_helper.rb
minitest-reporters-0.14.21 test/test_helper.rb
minitest-reporters-0.14.20 test/test_helper.rb
minitest-reporters-0.14.19 test/test_helper.rb
minitest-reporters-0.14.18 test/test_helper.rb
minitest-reporters-0.14.17 test/test_helper.rb