Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Shorten CPAN distribution.

Report information
The Basics
Id: 85418
Status: resolved
Priority: 0/
Queue: WWW-Shorten

People
Owner: DAVECROSS [...] cpan.org
Requestors: KENTNL [...] cpan.org
Cc: rsrchboy [...] cpan.org
AdminCc:

Bug Information
Severity: Critical
Broken in: 3.03
Fixed in: 3.04



Subject: fails 98pod-coverage.t on Perl 5.18
The exact reason its failing isn't obvious to me yet, the errors I'm seeing are just confusing

t/98pod-coverage.t .. 1/11
Show quoted text
#   Failed test 'Pod coverage on WWW::Shorten::MakeAShorterLink'
#   at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Test/Pod/Coverage.pm line 126.
# WWW::Shorten::MakeAShorterLink: requiring 'WWW::Shorten::MakeAShorterLink' failed

Show quoted text
#   Failed test 'Pod coverage on WWW::Shorten::LinkToolbot'
#   at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Test/Pod/Coverage.pm line 126.
# WWW::Shorten::LinkToolbot: requiring 'WWW::Shorten::LinkToolbot' failed

Show quoted text
#   Failed test 'Pod coverage on WWW::Shorten::TinyClick'
#   at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Test/Pod/Coverage.pm line 126.
# WWW::Shorten::TinyClick: requiring 'WWW::Shorten::TinyClick' failed

Show quoted text
#   Failed test 'Pod coverage on WWW::Shorten::Tinylink'
#   at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Test/Pod/Coverage.pm line 126.
# WWW::Shorten::Tinylink: requiring 'WWW::Shorten::Tinylink' failed

Show quoted text
#   Failed test 'Pod coverage on WWW::Shorten::_dead'
#   at /home/kent/perl5/perlbrew/perls/perl-5.18.0/lib/site_perl/5.18.0/Test/Pod/Coverage.pm line 126.
# WWW::Shorten::_dead: requiring 'WWW::Shorten::_dead' failed
# Looks like you failed 5 tests of 11.
t/98pod-coverage.t .. Dubious, test returned 5 (wstat 1280, 0x500)
Failed 5/11 subtests
I'm seeing the same set of errors. Also filed over at github -- I know I tend to lose track of rt pretty quickly :) https://github.com/davorg/www-shorten/issues/1
Pod coverage tests should never be run unless $ENV{RELEASE_TESTING} is set!
...now at 706 fails on cpantesters, and climbing...
On Wed Aug 21 23:37:22 2013, RSRCHBOY wrote: Show quoted text
> ...now at 706 fails on cpantesters, and climbing...
I'm seeing the same errors on 5.16.3. I'm guessing it's down to a change in Test::Pod::Coverage. I'll investigate further.
On Thu Aug 22 02:26:52 2013, DAVECROSS wrote: Show quoted text
> On Wed Aug 21 23:37:22 2013, RSRCHBOY wrote:
> > ...now at 706 fails on cpantesters, and climbing...
> > I'm seeing the same errors on 5.16.3. I'm guessing it's down to a > change in Test::Pod::Coverage. I'll investigate further.
Pod::Coverage 0.21 - all tests pass Pod::Coverage 0.23 - test failures
On Thu Aug 22 04:51:29 2013, DAVECROSS wrote: Show quoted text
> On Thu Aug 22 02:26:52 2013, DAVECROSS wrote:
> > On Wed Aug 21 23:37:22 2013, RSRCHBOY wrote:
> > > ...now at 706 fails on cpantesters, and climbing...
> > > > I'm seeing the same errors on 5.16.3. I'm guessing it's down to a > > change in Test::Pod::Coverage. I'll investigate further.
> > Pod::Coverage 0.21 - all tests pass > Pod::Coverage 0.23 - test failures
Aha! See https://rt.cpan.org/Ticket/Display.html?id=87634 Previously, if there was nothing in a module that Pod::Coverage detected as needing coverage, the file could have no pod at all and still be fine. As of 0.23 though, the test fails with "couldn't find pod".
I've just uploaded version 3.04 to CPAN. This moves the Pod tests to ./xt so they shouldn't get run by cpantesters. Let's see how that goes.
Fixed in 3.04