🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: perl.qa.metrics
1 messages
1 total messages Started by Stephen Vance Fri, 15 Jun 2007 12:57
Re: Devel::Cover in MakeMaker
#1
Author: Stephen Vance
Date: Fri, 15 Jun 2007 12:57
24 lines
2199 bytes
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 Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads