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

Re: Devel::Cover in MakeMaker

Thread Previous
From:
Stephen Vance
Date:
June 15, 2007 05:57
Subject:
Re: Devel::Cover in MakeMaker
Message ID:
46728CAA.9090006@vance.com
Yes. I'd like it to just run automatically when I do 'make test' and be 
fully integrated into the generated Makefile. I also want it to do the 
'cover -delete' before and 'cover' after as part of the test target or 
at least as a testcover target. I'm doing the shell wrapper in the meantime.

Steve

James E Keenan wrote:
> 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?
>>
> Do you need anything more than a shell function like this?
>
> harness ()
> {
>     HARNESS_PERL_SWITCHES=-MDevel::Cover make test
> }
>
>
> jimk
>

Thread Previous


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