On Wed, Nov 16, 2005 at 05:46:34PM -0500, David Golden wrote: > Before I flounder around to figure this out, I hope that a quick message to > the list can offer some guidance. > > I've got a bunch of test files for a distribution that run a script that > comes with the distribution. I'd like to test my coverage against that > script. I figure that I can just pass "-MDevel::Cover" to the execution of > the script if that's also in the HARNESS_PERL_SWITCHES. > > If my test file calls the script 20 times testing 20 different execution > paths, do all the runs get aggregated into cover_db? Or do I need to > create separate cover_db_$$ dirs for each of the 20 runs, then use cover at > the end to merge them together?
I would hope things should work just as you are expecting, that is all twenty runs should be merged to give combined coverage for the script and any modules used. -- Paul Johnson - [EMAIL PROTECTED] http://www.pjcj.net