On Tue, Mar 08, 2005 at 10:11:09PM -0500, Michael Graham wrote: > > > > Would this make it possible to run many test scripts (each with its own > > > plan) within the same perl process? 'Cos that would be nifty. > > > > Yes. Though beyond testing testing libraries I don't know why you'd want to > > do that. > > Well, all I was going to do was try to shave a few seconds off the > running time of my test suite (which is now climbing up to the 10 minute > mark). I figured I could do the mod_perl thing: preload all my modules > and do most of my setup at startup and then require each of the test > scripts. Dunno if it will be worth the effort but it was something > I was going to play with for a couple of hours.
If script startup and module loading really is the culprit you could try the mod_perl approach. Load all required modules and then for each script, fork a new perl process which uses do "testxxx.t" to run each script. Not sure how windows friendly this is though but that might not matter to you, F