Testing Questions

Sébastien Aperghis-Tramoni maddingue at free.fr
Mon May 14 13:45:56 BST 2007


Aaron Trevena wrote:

> On 14/05/07, Pete Sergeant <pete at clueball.com> wrote:
> > * Does anyone else add extra targets to their make files? I tend to have
> > a 'test_coverage' target that runs the tests using Devel::Cover. Anyone
> > do anything else that's interesting here?
>
> Neat. Can you post an example?

You already have it with Module::Build.
If you're using ExtUtils::MakeMaker, put the following in your Makefile.PL

    use ExtUtils::MakeMaker;
    eval "use ExtUtils::MakeMaker::Coverage";


--
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.


More information about the london.pm mailing list