Skip Menu |

This queue is for tickets about the Template-Plugin-SafeInclude CPAN distribution.

Report information
The Basics
Id: 117805
Status: open
Priority: 0/
Queue: Template-Plugin-SafeInclude

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: perlcritic test may fail
See http://analysis.cpantesters.org/solved?distv=Template-Plugin-SafeInclude-0.02#qr%3A%28Failed%20test\s%2B\S%2B.*%29 I think this happens only if Test::Perl::Critic and Perl::Critic::OTRS are installed.
On 2016-09-12 13:27:22, SREZIC wrote: Show quoted text
> See http://analysis.cpantesters.org/solved?distv=Template-Plugin- > SafeInclude-0.02#qr%3A%28Failed%20test\s%2B\S%2B.*%29 > > I think this happens only if Test::Perl::Critic and Perl::Critic::OTRS > are installed.
While this test failure is indeed an issue that should be corrected, please don't allow pod, critic, coverage 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};