Skip Menu |

This queue is for tickets about the Math-SlideRule CPAN distribution.

Report information
The Basics
Id: 104210
Status: resolved
Priority: 0/
Queue: Math-SlideRule

People
Owner: jeremy.mates [...] gmail.com
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: t/pod-coverage.t fails (1.00)
With 1.00 the pod-coverage.t test fails (different perl versions, linux & freebsd): # Failed test 'Pod coverage on Math::SlideRule' # at /usr/perl5.18.4p/lib/site_perl/5.18.4/Test/Pod/Coverage.pm line 133. # Coverage for Math::SlideRule is 80.0%, with 1 naked subroutine: # precision # Failed test 'Pod coverage on Math::SlideRule::PickettPocket' # at /usr/perl5.18.4p/lib/site_perl/5.18.4/Test/Pod/Coverage.pm line 133. # Coverage for Math::SlideRule::PickettPocket is 0.0%, with 2 naked subroutines: # A # C # Looks like you failed 2 tests of 2. t/pod-coverage.t ....... Dubious, test returned 2 (wstat 512, 0x200) Failed 2/2 subtests
On 2015-05-04 10:09:05, SREZIC wrote: Show quoted text
> With 1.00 the pod-coverage.t test fails (different perl versions, > linux & freebsd): > > # Failed test 'Pod coverage on Math::SlideRule' > # at /usr/perl5.18.4p/lib/site_perl/5.18.4/Test/Pod/Coverage.pm line > 133. > # Coverage for Math::SlideRule is 80.0%, with 1 naked subroutine: > # precision > > # Failed test 'Pod coverage on Math::SlideRule::PickettPocket' > # at /usr/perl5.18.4p/lib/site_perl/5.18.4/Test/Pod/Coverage.pm line > 133. > # Coverage for Math::SlideRule::PickettPocket is 0.0%, with 2 naked > subroutines: > # A > # C > # Looks like you failed 2 tests of 2. > t/pod-coverage.t ....... > Dubious, test returned 2 (wstat 512, 0x200) > Failed 2/2 subtests
Please don't allow pod tests to run for normal user installs. Either move the tests to xt/, or guard them with something like: plan skip_all => 'these tests are for authors only' unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};
Added documentation for the various attributes.