| Oct 14 2007 | Coverage Analysis in Testing | Back Next |
Adds testcover target to Makefile generated by ExtUtils::MakeMaker
testcover does all the cover and make test work
In Makefile.PL:
use ExtUtils::MakeMaker;
use ExtUtils::MakeMaker::Coverage;
...
# if you already have a MY::postamble...
sub MY::postamble {
testcover();
...
}
# if you wish to tweak the testcover target that will be written,
# alter it's configuration.
$conf = ExtUtils::MakeMaker::Coverage->config;
At the command line:
perl Makefile.PL
make
make testcover
| Home Last TOC | Copyright © 2007 James E Keenan | Back Next |