develooper Front page | perl.perl5.porters | Postings from July 2001

Re: Testsuite Coverage analysis

Thread Previous
Michael G Schwern
July 30, 2001 21:53
Re: Testsuite Coverage analysis
Message ID:
On Sun, Jul 29, 2001 at 02:28:21PM +0200, Tels wrote:
> Description, a pre-release (v1.04) and a coverage report over Perl 5.6.1
> are at

Unfortunately, this has the same problems I ran into.  Lots and lots
of false negatives. :(  Two I see immediately are English and
Data::Dumper wrongly reported as being uncovered.

Try it with Devel::Cover.

A gold star for effort, though!

> I had problems running the Perl testsuite trough this, and for Perl v5.7.2
> or later it failed in many interesting ways (You can't run Perl 5.7.2
> testsuite with Perl 5.6.0, but if you run it with ./perl, you do not have
> Devel::Coverage, and even if you cheat and have it, it complains about
> missing DB stuff. And even if you all have this (by running the 5.6.1
> testsuite trough 5.6.1 with some tricks, the test files will gladly
> overwrite @INC, shift dirs etc, thus a lot of them fail. I wonder how
> Harness manages this all ;o)

Ummm... I forget how I pulled this off.  I think I just installed
Devel::Coverage and set PERL5LIB to see that install directory.


Michael G. Schwern   <>
Perl6 Quality Assurance     <>	     Kwalitee Is Job One
If you have to shoot, shoot!  Don't talk.
		-- Tuco, "The Good, The Bad And The Ugly"

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About