1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Surpressing the noisy messages

This commit is contained in:
Hiroshi SHIBATA 2021-09-10 20:37:01 +09:00
parent 980f61935f
commit d7f0b41c7b
Notes: git 2021-09-11 08:48:29 +09:00

View file

@ -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