Permalink
Browse files

Readme updated, RubyMine reporter info added

  • Loading branch information...
1 parent 989a917 commit 21dca0fe91324b4e4c5ef3308baa4be50771f913 @iromeo iromeo committed Nov 12, 2011
Showing with 9 additions and 1 deletion.
  1. +9 −1 README.md
View
@@ -24,7 +24,8 @@ The following reporters are provided:
MiniTest::Reporters::DefaultReporter # => Identical to the standard MiniTest reporter
MiniTest::Reporters::SpecReporter # => Turn-like output that reads like a spec
MiniTest::Reporters::ProgressReporter # => Fuubar-like output with a progress bar
- MiniTest::Reporters::RubyMateReporter # => Simple reporter designed for RubyMate; see below
+ MiniTest::Reporters::RubyMateReporter # => Simple reporter designed for RubyMate
+ MiniTest::Reporters::RubyMineReporter # => Reporter designed for RubyMine IDE and TeamCity CI server; see below
I really like `ProgressReporter` for my everyday terminal usage, but I like
using `RubyMateReporter` when I'm executing test suites from TextMate. My usual
@@ -38,6 +39,13 @@ set up looks like this:
MiniTest::Unit.runner.reporters << MiniTest::Reporters::ProgressReporter.new
end
+If you prefer integration with RubyMine test runner or TeamCity CI server you'll need:
+ if ENV["RM_INFO"] || ENV["TEAMCITY_VERSION"]
+ MiniTest::Unit.runner.reporters << MiniTest::Reporters::RubyMineReporter.new
+ else
+ ...
+ end
+
## TODO ##
* Make the boilerplate code look prettier. Something like a one-line require for the general use-case would be nice.

0 comments on commit 21dca0f

Please sign in to comment.