Skip Menu |

This queue is for tickets about the Net-DiffBot CPAN distribution.

Report information
The Basics
Id: 112781
Status: open
Priority: 0/
Queue: Net-DiffBot

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: pod coverage and pod tests fail
# Failed test 'Pod coverage on Net::DiffBot' # at /opt/perl-5.22.1/lib/site_perl/5.22.1/Test/Pod/Coverage.pm line 133. # Coverage for Net::DiffBot is 60.0%, with 2 naked subroutines: # build_request_url # get_request_args # Looks like you failed 1 test of 1. t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests # Failed test 'POD test for blib/lib/Net/DiffBot.pm' # at /opt/perl-5.22.1/lib/site_perl/5.22.1/Test/Pod.pm line 187. # blib/lib/Net/DiffBot.pm (204): '=item' outside of any '=over' # Looks like you failed 1 test of 1. t/pod.t ........... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests
On 2016-03-08 00:28:27, SREZIC wrote: Show quoted text
> # Failed test 'Pod coverage on Net::DiffBot' > # at /opt/perl-5.22.1/lib/site_perl/5.22.1/Test/Pod/Coverage.pm line 133. > # Coverage for Net::DiffBot is 60.0%, with 2 naked subroutines: > # build_request_url > # get_request_args > # Looks like you failed 1 test of 1. > t/pod-coverage.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests > > # Failed test 'POD test for blib/lib/Net/DiffBot.pm' > # at /opt/perl-5.22.1/lib/site_perl/5.22.1/Test/Pod.pm line 187. > # blib/lib/Net/DiffBot.pm (204): '=item' outside of any '=over' > # Looks like you failed 1 test of 1. > t/pod.t ........... > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests
Please don't allow pod, critic or kwalitee tests to run for normal user installs, as they make the installation fail unnecessarily when newer versions of the tester introduce errors that you cannot anticipate. Also spelling tests are dependent on what dictionaries are installed locally, and critic tests use all plugins that are installed, both of which cannot be predicted in advance. Either move them to xt/, or guard them with: plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};