Skip to content

Commit aa9f982

Browse files
committed
[test] only load reporters when outside of rubymine test runner
1 parent efeef28 commit aa9f982

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/test_helper.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717

1818
require_relative "instrumentation_test_helper"
1919

20-
Minitest::Reporters.use!(Minitest::Reporters::ProgressReporter.new)
20+
unless ENV["RM_INFO"]
21+
# RubyMine does not support Minitest reporters, so we use the default reporter
22+
Minitest::Reporters.use!(Minitest::Reporters::ProgressReporter.new)
23+
end
2124

2225
module ActiveSupport
2326
class TestCase

0 commit comments

Comments
 (0)