Testing Questions

Matt S Trout dbix-class at trout.me.uk
Mon May 14 15:24:32 BST 2007

On Mon, May 14, 2007 at 01:42:49PM +0100, Stig Brautaset wrote:
> On 14 May 2007, at 14 May 13:27, 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?
> Not done that with MM, but Module::Build has a built-in 'testcover'  
> target which is quite handy.

I tend to use a Module::Install Makefile.PL and have a Build.PL that's just

do 'Makefile.PL'

so I can use stuff like testcover.

Then I can get all the advantages but put Build.PL in MANIFEST.SKIP so I
don't accidentally inflict MB on people trying to install things. Works
pretty well.

      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director    Want a managed development or deployment platform?
 Shadowcat Systems Ltd.  Contact mst (at) shadowcatsystems.co.uk for a quote
http://chainsawblues.vox.com/             http://www.shadowcatsystems.co.uk/ 

More information about the london.pm mailing list