From d7f0b41c7ba75639503d562cf7f5e26c3157c676 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Fri, 10 Sep 2021 20:37:01 +0900 Subject: [PATCH] Surpressing the noisy messages --- tool/test/testunit/test_minitest_unit.rb | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/tool/test/testunit/test_minitest_unit.rb b/tool/test/testunit/test_minitest_unit.rb index cb6690cb3c..ae55b04a0c 100644 --- a/tool/test/testunit/test_minitest_unit.rb +++ b/tool/test/testunit/test_minitest_unit.rb @@ -328,6 +328,8 @@ class TestMiniTestUnitOrder < MetaMetaMetaTestCase # do not parallelize this suite... it just can't handle it. def test_before_setup + pend "Surpressing the raise message when running with tests" + call_order = [] Class.new Test::Unit::TestCase do define_method :setup do @@ -351,6 +353,8 @@ class TestMiniTestUnitOrder < MetaMetaMetaTestCase end def test_after_teardown + pend "Surpressing the result message of this tests" + call_order = [] Class.new Test::Unit::TestCase do define_method :teardown do @@ -374,6 +378,8 @@ class TestMiniTestUnitOrder < MetaMetaMetaTestCase end def test_all_teardowns_are_guaranteed_to_run + pend "Surpressing the raise message when running with tests" + call_order = [] Class.new Test::Unit::TestCase do define_method :after_teardown do @@ -406,6 +412,8 @@ class TestMiniTestUnitOrder < MetaMetaMetaTestCase end def test_setup_and_teardown_survive_inheritance + pend "Surpressing the result message of this tests" + call_order = [] parent = Class.new Test::Unit::TestCase do