Re: Devel::Cover in MakeMaker
[email protected] (Stephen Vance) Fri, 15 Jun 2007 14:19:21 -0400
| Newsgroups | perl.qa,perl.qa.metrics |
|---|---|
| Message-ID | <[email protected]> |
That should do the trick. Thanks, Andy!! Steve Andy Armstrong wrote: > On 14 Jun 2007, at 22:45, Stephen Vance wrote: >> I'm setting up an agile development environment for a client while >> writing modules most likely targeted for CPAN. I'd like to generate >> coverage on every invocation of 'make test'. What's the current state >> of making this happen? > > Does it have to be make test? > > If you add this to Makefile.PL: > > eval 'use ExtUtils::MakeMaker::Coverage'; > warn "Optional ExtUtils::MakeMaker::Coverage not available\n" if $@; > > you get make testcover. >