From: ara.t.howard@... Date: 2006-05-16T02:20:51+09:00 Subject: Re: Forcing some code to run at the end of tests yn Tue, 16 May 2006, Pistos Christou wrote: > Sy Ali wrote: >> On 5/13/06, Daniel Harple wrote: >>> You can setup your test runner manually: >> >> >> Thank you. This was just the solution I needed. It was easy to get >> working too. =) > > I have a similar situation: I have to setup and teardown various bits in > a database before and after (respectively) [the combined whole of] ALL > tests. Furthermore, the teardown must occur regardless of whether any > tests pass or fail. I've posted to ruby-talk about this a while ago. > My final solution was to just use a wrapper script to call rake, and > then call the teardown code. > > Would the above TestRunner solution work for my case, too? > > Pistos what's wrong with BEGIN and END blocks? -a -- be kind whenever possible... it is always possible. - h.h. the 14th dali lama