[前][次][番号順一覧][スレッド一覧]

ruby-changes:67900

From: Hiroshi <ko1@a...>
Date: Sat, 11 Sep 2021 08:48:35 +0900 (JST)
Subject: [ruby-changes:67900] d7f0b41c7b (master): Surpressing the noisy messages

https://git.ruby-lang.org/ruby.git/commit/?id=d7f0b41c7b

From d7f0b41c7ba75639503d562cf7f5e26c3157c676 Mon Sep 17 00:00:00 2001
From: Hiroshi SHIBATA <hsbt@r...>
Date: Fri, 10 Sep 2021 20:37:01 +0900
Subject: 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 cb6690c..ae55b04 100644
--- a/tool/test/testunit/test_minitest_unit.rb
+++ b/tool/test/testunit/test_minitest_unit.rb
@@ -328,6 +328,8 @@ class TestMiniTestUnitOrder < MetaMetaMetaTestCase https://github.com/ruby/ruby/blob/trunk/tool/test/testunit/test_minitest_unit.rb#L328
   # 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 https://github.com/ruby/ruby/blob/trunk/tool/test/testunit/test_minitest_unit.rb#L353
   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 https://github.com/ruby/ruby/blob/trunk/tool/test/testunit/test_minitest_unit.rb#L378
   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 https://github.com/ruby/ruby/blob/trunk/tool/test/testunit/test_minitest_unit.rb#L412
   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
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]