[tapx-dev] [commit][189] Added testcover target.
Ovid
publiustemp-tapx at yahoo.com
Mon Jul 16 22:34:03 BST 2007
----- Original Message ----
From: Andy Armstrong <andy at hexten.net>
> This is fun: seems our code completely screws with Devel::Cover in a way
> I haven't seen before. It only reports coverage for two of our modules.
Oh, wow. I've seen Devel::Cover fail, but never this spectacularly :(
I've even tried the standard:
HARNESS_PERL_SWITCHES=-MDevel::Cover make test
Same problem, so yes, it looks like it's in Devel::Cover directly. But, I have to go to bed so I can't follow this up, but it looks like you can easily figure out which test is screwing it up because individual tests work just fine:
~/code/tapx/trunk $ rm -fr cover_db/ && HARNESS_PERL_SWITCHES=-MDevel::Cover prove t/020-regression.t
t/020-regression....ok
All tests successful.
Files=1, Tests=3289, 8 wallclock secs ( 5.85 cusr + 0.47 csys = 6.32 CPU)
~/code/tapx/trunk $ coverReading database from /Users/ovid/code/tapx/trunk/cover_db
---------------------------- ------ ------ ------ ------ ------ ------ ------
File stmt bran cond sub pod time total
---------------------------- ------ ------ ------ ------ ------ ------ ------
blib/lib/TAP/Base.pm 61.8 25.0 n/a 75.0 100.0 0.4 59.6
blib/lib/TAP/Parser.pm 85.1 75.0 28.6 91.2 100.0 25.6 80.7
...lib/TAP/Parser/Grammar.pm 87.2 75.0 77.8 85.0 100.0 1.1 85.3
...ib/TAP/Parser/Iterator.pm 85.2 50.0 37.5 100.0 100.0 0.4 75.0
.../Parser/Iterator/Array.pm 45.0 0.0 n/a 37.5 100.0 0.0 48.6
...arser/Iterator/Process.pm 81.6 40.5 n/a 100.0 100.0 41.0 72.5
...Parser/Iterator/Stream.pm 40.9 0.0 n/a 37.5 100.0 0.0 42.1
.../lib/TAP/Parser/Result.pm 83.0 50.0 44.4 90.5 100.0 13.4 81.9
.../Parser/Result/Bailout.pm 90.9 n/a n/a 80.0 100.0 0.0 88.9
.../Parser/Result/Comment.pm 90.9 n/a n/a 80.0 100.0 0.3 88.9
...TAP/Parser/Result/Plan.pm 100.0 n/a n/a 100.0 100.0 0.7 100.0
...TAP/Parser/Result/Test.pm 73.8 60.0 100.0 82.4 100.0 15.9 79.1
.../Parser/Result/Unknown.pm 100.0 n/a n/a 100.0 n/a 0.0 100.0
.../Parser/Result/Version.pm 100.0 n/a n/a 100.0 100.0 0.0 100.0
...TAP/Parser/Result/YAML.pm 100.0 n/a n/a 100.0 100.0 0.0 100.0
.../lib/TAP/Parser/Source.pm 48.8 16.7 n/a 50.0 100.0 0.1 47.9
...TAP/Parser/Source/Perl.pm 94.1 66.7 53.8 94.1 100.0 0.9 84.7
.../Parser/YAMLish/Reader.pm 72.0 50.0 73.3 92.9 100.0 0.1 67.3
Total 80.1 57.7 53.8 84.4 100.0 100.0 76.0
---------------------------- ------ ------ ------ ------ ------ ------ ------
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