From: Nathaniel Talbott Date: 2001-03-30T01:02:13+09:00 Subject: [ruby-talk:13328] Re: Reloading files Avi Bryant [mailto:avi@beta4.com] wrote: > On Thu, 29 Mar 2001, Nathaniel Talbott wrote: > > > So, the question is, how can it be made to reload changed > (or, to keep it > > simple, all) test and fixture code? I have a few ideas, but > I'd like to run > > it by everybody first to see if they're feasible. > > Although I'd love to see these issues solved, in this case > might it not be > easier to have the GTK::TestRunner simply fork a fresh ruby > interpreter > to run the console TestRunner (or something similar), and > then parse and > display the output? You certainly get the simplicity award! I hadn't even thought of this, although it seems blatantly obvious now. I've done something like this in Java for running functional tests, but hadn't thought of doing it in this case. I'll look into getting it to work. I'm still curious, though, as to whether the scheme I proposed could be made to work, as there would seem to be benefit in not having to launch a second interpreter. Thoughts? Nathaniel <:((>< + - - + - - | RoleModel Software, Inc. & | EQUIP VI | The XP Software Studio(TM) |