Re: Test::Builder2: running coverage fails to display key modules

Paul Johnson <[email protected]>
Newsgroups gmane.comp.lang.perl.quality-assurance
Message-ID <[email protected]>
On Sat, Aug 04, 2012 at 08:54:27AM -0400, James E Keenan wrote:
> When I run Devel::Cover over the Test::Builder2 test suite
> (v1.005000_001-193-g00d4609), I get no coverage reports for
> blib/lib/Test/Builder2.pm or blib/lib/Test/More.pm.
> 
> See:  http://thenceforward.net/test-more/coverage/coverage.html
> 
> Any thoughts on why that is happening?

I'm not sure.  I just ran 00d4609 (which I had as 1.005000_005) through
my development copy of Devel::Cover (which will shortly become a
release) and got somewhat different results.  I ran:

  $ cover -test -report html_basic

and got these results:

  http://pjcj.sytes.net/tmp/test-more/cover_db/coverage.html

which includes both Test/Builder2.pm and Test/More.pm as well as some
other modules, but doesn't include Makefile.PL.  How did you generate
your coverage report?

-- 
Paul Johnson - [email protected]
http://www.pjcj.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.