[DOCS] SUnit test question

Magistrello Alejandro (SFA) magistra at TELEFONICA.COM.AR
Thu Feb 13 13:15:37 UTC 2003


try by changing the method name to something like test* ,
the TestRunner evaluates only those

hth, Alejandro

> -----Mensaje original-----
> De:	Hannes Hirzel [SMTP:hannes.hirzel.squeaklist at bluewin.ch]
> Enviado el:	jueves 13 de febrero de 2003 10:11
> Para:	The general-purpose Squeak developers list
> Asunto:	[DOCS] SUnit test question
> 
> 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