diff --git a/test/minitest_helper.rb b/test/minitest_helper.rb
index <HASH>..<HASH> 100644
--- a/test/minitest_helper.rb
+++ b/test/minitest_helper.rb
@@ -194,3 +194,10 @@ class CustomMiniTestRunner
 end
 
 MiniTest::Unit.runner = CustomMiniTestRunner::Unit.new
+
+begin # load reporters for RubyMine if available
+  require 'minitest/reporters'
+  MiniTest::Reporters.use!
+rescue LoadError
+  # ignored
+end if ENV['RUBYMINE']
support for running mini tests in RubyMine

add `gem 'minitest-reporters', require: false` to your `bundle.d/local.rb`
and set ENV['RUBYMINE'] in Run/Debug configuration defaults