Re: Test::Builder2: running coverage fails to display key modules
James E Keenan <[email protected]>
| Newsgroups | gmane.comp.lang.perl.quality-assurance |
|---|---|
| Message-ID | <[email protected]> |
On 8/4/12 11:16 AM, James E Keenan wrote: > On 8/4/12 10:54 AM, Paul Johnson wrote: > How did you generate >> your coverage report? >> > > Main part of my shell script: > > cd $SOURCEDIR && \ > cover -delete $COVERAGEDIR && \ > PERL5OPT=-MDevel::Cover=-db,$COVERAGEDIR/ \ > perl Makefile.PL && make && make test && \ > cover $COVERAGEDIR \ > -coverage statement \ > -coverage branch \ > -coverage condition \ > -coverage subroutine \ > -ignore_re '^t\/' \ > -ignore_re '^\/usr\/local\/bin' \ > -ignore_re '^\/tmp' \ > chmod 0755 $COVERAGEDIR/ Data point: When I call this command, the first thing I get is a couple of dozen warnings like this: Devel::Cover: Warning: can't open ro-accessor for object_id (.../test-more/blib/lib/TB2/Mouse.pm) for MD5 digest: No such file or directory ... even though blib/lib/TB2/Mouse.pm clearly exists. jimk