Testing Questions

Pete Sergeant pete at clueball.com
Mon May 14 13:46:13 BST 2007


On Mon, May 14, 2007 at 01:27:57PM +0100, Aaron Trevena wrote:
> On 14/05/07, Pete Sergeant <pete at clueball.com> wrote:
> >* Does anyone else add extra targets to their make files? I tend to have
> >a 'test_coverage' target that runs the tests using Devel::Cover. Anyone
> >do anything else that's interesting here?
> 
> Neat. Can you post an example?

sub MY::postamble {

	return qq!

test_coverage :: pure_all
\tcover -delete; HARNESS_PERL_SWITCHES="-MDevel::Cover" prove -b -r t; cover

!;

}



More information about the london.pm mailing list