From: Pistos Christou Date: 2006-05-16T01:38:39+09:00 Subject: Re: Forcing some code to run at the end of tests 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 -- Posted via http://www.ruby-forum.com/.