in reply to Re: Devel::Cover and prove
in thread Devel::Cover and prove
The first command deletes any existing coverage database. On the second line we set an environment variable for Test::Harness, HARNESS_PERL_SWITCHES to a Perl command-line switch that imports Devel::Caller. This is all that's required of you. Each of your test programs will now run with Devel::Caller loaded and analyzing execution in the background.cover -delete HARNESS_PERL_SWITCHES=-MDevel::Cover make test
|
|---|