develooper Front page | perl.qa.metrics | Postings from June 2007

Re: Devel::Cover in MakeMaker

Thread Previous | Thread Next
From:
Andy Armstrong
Date:
June 15, 2007 06:27
Subject:
Re: Devel::Cover in MakeMaker
Message ID:
9A605E44-E429-44B5-9471-72FBE10F7DD3@hexten.net
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.

-- 
Andy Armstrong, hexten.net


Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About