From: "Martin Boßlet" Date: 2011-06-22T14:49:30+09:00 Subject: [ruby-core:37290] Re: What class should test cases extend? Thanks for the help, Ryan! I will make all tests in test/openssl inherit from Test::Unit::TestCase then. I opened an issue (#4918) for the remaining parts of core so people can discuss and intervene if necessary. Regards, Martin 2011/6/21 Ryan Davis : > > On Jun 13, 2011, at 05:05 , Martin Bo�let wrote: > >> I found some tests (I assume the newer ones) extending >> MiniTest::Unit::TestCase whereas the majority still extends >> Test::Unit:TestCase. >> >> What is the recommended approach in these cases? > > For ruby-core, I think they should stay consistent and subclass Test::Unit::TestCase (just to be less confusing). > > There are some exceptions... rubygems and rdoc for example imports all of its tests from an external repo, and we use minitest directly. But for non-imported tests, I think test/unit is less confusing. > > >