Hi!

Is there any module on CPAN (or some other accepted technique) to 
maintain some kind of state between tests?

I know that this will kill parallel testing, but I'm trying to test a 
rather long process involving several files and several steps, factored 
into several distinct test scripts, and I don't want to write lots of 
setup code before each step of the test.

Basically, I'd love to use the CLEANUP feature of File::Temp, but 
instead of triggering the CLEANUP after one test script exists, I'd like 
to trigger it manually. Of course I know that I can just write out the 
path somewhere and remove the testdir when I'm done. But I'm wondering 
if this is already built in one test module or the other (similar to 
what Module::Build offers with config_data)


-- 
#!/usr/bin/perl                              http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}

Reply via email to