[ANN] SUnitExtensions

Brent Pinkney brent.pinkney at aircom.co.za
Sun Apr 2 14:08:04 UTC 2006


Hi,

>     * TestCase>>should: aBlock notTakeMoreThanMilliseconds: anInteger

Would it not be nicer to implement this using ANSI Durations rather then 
milliseconds ? Something akin to #valueWithin:onTimeout:

My suggestion would be

	self 
		assert: [ x doSomething ] within: 5 seconds.


Cheers

Brent



More information about the Squeak-dev mailing list