From: ara.t.howard@... Date: 2006-05-15T06:44:28+09:00 Subject: Re: Forcing some code to run at the end of tests On Mon, 15 May 2006, Sy Ali wrote: > On 5/14/06, ara.t.howard@noaa.gov wrote: >> On Sun, 14 May 2006, Sy Ali wrote: >> > Is there an easy way for me to abort a test? (i.e. to exit the test >> > method cleanly?) >> >> harp:~ > cat a.rb > >> regards. > > Awesome! That's just what I was looking for (for that particular > problem). It's strange that the feature isn't there already. > > Now I'm going to play with setting the order of my tests to get a > block of code to execute last. i'ts simple : they are run in alphabetical order. so, if you name them test_000 test_001 test_002 ... they are run in 'order'. -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama