Skip Menu |

This queue is for tickets about the Plack-Middleware-TrailingSlash CPAN distribution.

Report information
The Basics
Id: 110126
Status: resolved
Priority: 0/
Queue: Plack-Middleware-TrailingSlash

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

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



Subject: perlcritic test fails
See subject. Test output: # Failed test 'Test::Perl::Critic for "blib/lib/Plack/Middleware/TrailingSlash.pm"' # at /opt/perl-5.18.4t/lib/site_perl/5.18.4/Test/Perl/Critic.pm line 104. # # Subroutine "extends" is neither declared nor explicitly imported in blib/lib/Plack/Middleware/TrailingSlash.pm, line 14. # Subroutine "has" is neither declared nor explicitly imported in blib/lib/Plack/Middleware/TrailingSlash.pm, line 17. # Subroutine "encode_entities" is neither declared nor explicitly imported in blib/lib/Plack/Middleware/TrailingSlash.pm, line 66. # Use of "__PACKAGE__" without including "__PACKAGE__" in blib/lib/Plack/Middleware/TrailingSlash.pm, line 75. t/80_critic.t .............. Dubious, test returned 1 (wstat 256, 0x100) Failed 1/1 subtests
On 2015-12-06 22:11:54, SREZIC wrote: Show quoted text
> See subject. Test output: > > # Failed test 'Test::Perl::Critic for > "blib/lib/Plack/Middleware/TrailingSlash.pm"' > # at /opt/perl-5.18.4t/lib/site_perl/5.18.4/Test/Perl/Critic.pm line > 104. > # > # Subroutine "extends" is neither declared nor explicitly imported > in blib/lib/Plack/Middleware/TrailingSlash.pm, line 14. > # Subroutine "has" is neither declared nor explicitly imported in > blib/lib/Plack/Middleware/TrailingSlash.pm, line 17. > # Subroutine "encode_entities" is neither declared nor explicitly > imported in blib/lib/Plack/Middleware/TrailingSlash.pm, line 66. > # Use of "__PACKAGE__" without including "__PACKAGE__" in > blib/lib/Plack/Middleware/TrailingSlash.pm, line 75. > t/80_critic.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};
Should be fixed in 0.002.
On 2015-12-08 10:39:55, Okko wrote: Show quoted text
> Should be fixed in 0.002.
Looks good so far: http://fast-matrix.cpantesters.org/?dist=Plack-Middleware-TrailingSlash%200.002