Use Minitest::Reporters only when running tests through RubyMine?

Hi,

In my test_helper.rb, how can I check whether the current test run was initiated from RubyMine, so I can only then activate the reporters? Otherwise, I'd like to use the regular output in case I happen to run the test suite directly form the terminal.

Thanks,
Ernest

1 comment

Please check help topic about minitest - http://www.jetbrains.com/ruby/webhelp/minitest.html  It looks like it contains all information you need.

Regards, Oleg.

0

Please sign in to leave a comment.