🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: perl.qa.metrics
Article #1

Re: Devel::Cover in MakeMaker

#1
From: 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
>
Technical Details
Message-ID: <46728CAA.9090006@vance.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.qa.metrics.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!nntp.perl.org
References: <4671B6EB.20300@vance.com> <46728B62.10207@verizon.net>

Show Full Headers
Complete Article Headers
Message-ID: <46728CAA.9090006@vance.com>
Subject: Re: Devel::Cover in MakeMaker
Date: Fri, 15 Jun 2007 08:57:14 -0400
From: steve@vance.com (Stephen Vance)
References: <4671B6EB.20300@vance.com> <46728B62.10207@verizon.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-perl.qa.metrics.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!headwall.stanford.edu!newsfeed.stanford.edu!nntp.perl.org
Newsgroups: perl.qa.metrics
Return-Path: <steve@vance.com>
Mailing-List: contact perl-qa-metrics-help@perl.org; run by ezmlm
Delivered-To: mailing list perl-qa-metrics@perl.org
Delivered-To: perl-qa-metrics@perl.org
X-Spam-Status: No, hits=0.7 required=8.0
 tests=BAYES_50,DKIM_POLICY_SIGNSOME,DK_POLICY_SIGNSOME,SPF_NEUTRAL
X-Spam-Check-By: la.mx.develooper.com
Received-SPF: neutral (x1.develooper.com: local policy)
 by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP;
 by comcast.net (sccrmhc15) with ESMTP
User-Agent: Thunderbird 2.0.0.0 (Macintosh/20070326)
MIME-Version: 1.0
To: James E Keenan <jkeen@verizon.net>
CC: perl-qa-metrics@perl.org
In-Reply-To: <46728B62.10207@verizon.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Approved: news@nntp.perl.org
Lines: 23