Devel::Cover?
Ovid
publiustemp-tapx at yahoo.com
Tue Apr 29 22:55:34 UTC 2008
Has anyone run Devel::Cover on trunk lately? Lots and lots of
failures. I use the following bash script (assumes
Devel::CoverX::Covered is installed):
#!/bin/bash
#Clean up from previous test run
cover -delete
#Test run with coverage instrumentation
PERL5OPT=-MDevel::Cover prove -rl t
#Collect covered and caller information
# Run this _before_ running "cover"
# Don't run with Devel::Covered enabled
covered runs
#Post process to generate covered database
cover -report Html_basic
Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Perl and CGI - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/
More information about the tapx-dev
mailing list