Skip Menu |

This queue is for tickets about the Tie-Handle-Flock CPAN distribution.

Report information
The Basics
Id: 117351
Status: open
Priority: 0/
Queue: Tie-Handle-Flock

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

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



Subject: pod coverage test fails (0.02)
If Test::Pod::Coverage is installed: # Failed test 'Pod coverage on Tie::Handle::Flock' # at /usr/perl5.22.2p/lib/site_perl/5.22.2/Test/Pod/Coverage.pm line 133. # Coverage for Tie::Handle::Flock is 0.0%, with 2 naked subroutines: # lock # unlock # Looks like you failed 1 test of 1. t/pod-coverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests
On 2016-08-30 15:38:02, SREZIC wrote: Show quoted text
> If Test::Pod::Coverage is installed: > > # Failed test 'Pod coverage on Tie::Handle::Flock' > # at /usr/perl5.22.2p/lib/site_perl/5.22.2/Test/Pod/Coverage.pm line 133. > # Coverage for Tie::Handle::Flock is 0.0%, with 2 naked subroutines: > # lock > # unlock > # Looks like you failed 1 test of 1. > t/pod-coverage.t .. > Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/1 subtests
While this test failure is indeed an issue that should be corrected, 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 module introduces 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, neither of which can be predicted in advance. Either move these tests to xt/, or guard them with: plan skip_all => "These tests are for authors only!" unless $ENV{AUTHOR_TESTING} or $ENV{RELEASE_TESTING};