From: Gaurang Shah Date: 2011-07-29T20:49:13+09:00 Subject: Re: No tests were specified errror Robert Klemme wrote in post #1013718: > Brian Candler wrote in post #1013695: >> If someone can explain how to mark BaseClass as 'not for testing' then >> I'd like to know that as well, as I had the same problem too. > > +1 > >> My workaround was to define a method test_dummy in BaseClass which does >> nothing (or just assert true), but I expect there's a better way. > > Another workaround might be to replace BaseClass with a module which is > included in DemoTest which then directly inherits Test::Unit::TestCase. > > Kind regards > > robert Thanks robert, I did the same thing but then the problem is another method like startup, shutdown or cleanup is not being called. -- Posted via http://www.ruby-forum.com/.