Skip Menu |

This queue is for tickets about the HTTP-Server-Simple-Static CPAN distribution.

Report information
The Basics
Id: 114029
Status: resolved
Priority: 0/
Queue: HTTP-Server-Simple-Static

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

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



Subject: pod coverage test fails
Test output: # Failed test 'Pod coverage on HTTP::Server::Simple::Static' # at /usr/perl5.22.1p/lib/site_perl/5.22.1/Test/Pod/Coverage.pm line 133. # Coverage for HTTP::Server::Simple::Static is 50.0%, with 1 naked subroutine: # get_mimetype # Looks like you failed 1 test of 1. t/03podcoverage.t .. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests
On 2016-04-27 15:22:54, SREZIC wrote: Show quoted text
> Test output: > > # Failed test 'Pod coverage on HTTP::Server::Simple::Static' > # at /usr/perl5.22.1p/lib/site_perl/5.22.1/Test/Pod/Coverage.pm line > 133. > # Coverage for HTTP::Server::Simple::Static is 50.0%, with 1 naked > subroutine: > # get_mimetype > # Looks like you failed 1 test of 1. > t/03podcoverage.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 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, 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};
The author POD tests were moved to an 'xt' directory in version 0.12 Regards, Stephen Quinney On Wed Apr 27 20:05:39 2016, ETHER wrote: Show quoted text
> On 2016-04-27 15:22:54, SREZIC wrote:
> > Test output: > > > > # Failed test 'Pod coverage on HTTP::Server::Simple::Static' > > # at /usr/perl5.22.1p/lib/site_perl/5.22.1/Test/Pod/Coverage.pm > > line > > 133. > > # Coverage for HTTP::Server::Simple::Static is 50.0%, with 1 naked > > subroutine: > > # get_mimetype > > # Looks like you failed 1 test of 1. > > t/03podcoverage.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 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, 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};