[DOCS] SUnit test question
diegogomezdeck at consultar.com
diegogomezdeck at consultar.com
Thu Feb 13 13:42:16 UTC 2003
Hannes,
By default all the methods has to be called testXXXX.
rename the method as #test or #testDo or #testXXX, and voila!
Cheers,
Diego
> Hi
>
> An SUnit test question:
>
> I'm looking for the ultimate minimal things necessary to have a
> TestClass
>
>
> I do a subclass of TestCase named HHTestCase.
>
> I add just one method
>
> doMyTestCase
>
> ^self assert: ('Hannes' size = 6)
>
>
> HHTestCase shows up in the TestRunner GUI.
> However when I run it it says
>
> 0 tests run, 0 tests passed
>
> What am I missing?
>
>
> Hannes
More information about the Squeak-dev
mailing list
|