Thank you very much for the reply. I did see the method you
mentioned, unfortunately, that's not quite what I'm after. I apologize
for not being clear :-)
I want to be able to load as much of the application framework,
plug-ins and gems as possible, and then pause, waiting for a test run
request to be received. As soon as a test run request is received, I
want to fork the process, and then load the rest of the application
code (models, controllers, Lib, etc.). The point of this is to reduce
the amount of time it takes to run your specs (I'm not sure if you
have seen the spork project, but it's the successor of the rspec DRb
server.
The way that I'm accomplishing what I wanted rails is by trapping
certain methods, and basically turning calls to them into procs, which
are stored away and called after the processes forked.
I hope I'm explaining myself clearly :-)
Thanks,
Tim