From: Sy Ali Date: 2006-05-14T19:36:01+09:00 Subject: Re: Forcing some code to run at the end of tests On 5/14/06, Sy Ali wrote: > I think by far the easiest solution is Kernel#at_exit .. it totally > slipped my mind! Scratch that. at_exit doesn't work either. If one of my tests sets a global variable or writes information in a file.. at_exit will *still* not see the global variable or data.. because the entire tc_name.rb script exits, runs at_exit, and *then* the tests are run. Wierd! I'll explore forcing that test to be run in a more manual way. Some examples were given in this thread.. I'll pick them apart and try them out.