From: nathaniel@... Date: 2003-01-10T11:09:32+09:00 Subject: Re: Test::Unit fails w/no tests [was: testunit 0.1.6 problems] Dmitri Colebatch [mailto:dim@colebatch.com] wrote: > can I clarify this - the claim is taht a test without any > assert checks is a fail - not an empty test yes? I assume > that there is no way of determining if the method is in fact > empty? yes? > > for instance - does this constitute a failure? > > def test_null_object > nullObject = NullObject.new > nullObject.method1 > nullObject.method2 > nullObject.method3 > end > > to check that I have a null object that implements those > methods and doesn't raise errors when called. > > as I understand the thread, because this has no assert > statements, it would be deemed a failure - correct? No, it wouldn't... the only thing that is (currently) an error is running an empty TestSuite... as soon as you add an empty test, the error will disappear. Nathaniel <:((>< + - - | RoleModel Software, Inc. | EQUIP VI