From: Phlip Date: 2006-09-08T01:20:38+09:00 Subject: Re: Abstract Tests vs AutoRunner Chris Roos wrote: > class AbstractSuite < Test::Unit::TestCase > def test_foo() > p derive() > end > def derive; end > end That would run test_foo() with a stub. Because the real derive() is naturally important, this wouldn't work. It's also "not-OO", because it isn't minimal! I could do it like that if I were building the suites from scratch, and then stubs would gracefully do nothing. But... Nathaniel Talbott wrote: > class ConcreteSuiteA < Test::Unit::TestCase > include AbstractSuite Jeeze Louise, could this friggin' language ever make anything HARD?! I need to log hours doing SOMETHING!!! -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!!