This Question is Possibly Answered

1 "correct" answer available (4 pts) 2 "helpful" answers available (2 pts)
1 Replies Last post: Jun 26, 2013 3:41 PM by Oleg Sukhodolsky  
Ernest Surudo Newbie 6 posts since
Jun 24, 2013
Currently Being Moderated

Jun 26, 2013 2:28 PM

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

Oleg Sukhodolsky JetBrains 822 posts since
Apr 4, 2012
Currently Being Moderated
Jun 26, 2013 3:41 PM in response to: Ernest Surudo
Re: Use Minitest::Reporters only when running tests through RubyMine?

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.

More Like This

  • Retrieving data ...