From 376b99652971574e0d6615eb13884f9d3165e6b7 Mon Sep 17 00:00:00 2001 From: Oleg Sukhodolsky Date: Wed, 5 Jun 2013 10:59:06 +0400 Subject: [PATCH] let's output errors to $stderr --- .../testing/patch/testunit/minitest/rm_reporter_plugin.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb b/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb index 63ff9846088..b5cb3fb9ed6 100644 --- a/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb +++ b/ruby-testing/src/rb/testing/patch/testunit/minitest/rm_reporter_plugin.rb @@ -4,10 +4,10 @@ require 'teamcity/utils/runner_utils' require 'teamcity/utils/url_formatter' rescue LoadError - MiniTest::Unit.runner.output.puts("====================================================================================================\n") - MiniTest::Unit.runner.output.puts("RubyMine reporter works only if it test was launched using RubyMine IDE or TeamCity CI server !!!\n") - MiniTest::Unit.runner.output.puts("====================================================================================================\n") - MiniTest::Unit.runner.output.puts("Using default results reporter...\n") + $stderr.puts("====================================================================================================\n") + $stderr.puts("RubyMine reporter works only if it test was launched using RubyMine IDE or TeamCity CI server !!!\n") + $stderr.puts("====================================================================================================\n") + $stderr.puts("Using default results reporter...\n") else module Minitest