Skip Menu |

This queue is for tickets about the Template-Provider-DBIC CPAN distribution.

Report information
The Basics
Id: 117803
Status: open
Priority: 0/
Queue: Template-Provider-DBIC

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/reports_by_field?distv=Template-Provider-DBIC-0.02;field=qr%3A%28Failed%20test\s%2B\S%2B.*%29 for an overview of test reports exposing a problem with perlcritic. I think the fail happens only if both Test::Perl::Critic and Perl::Critic::OTRS is installed.
On 2016-09-12 13:23:33, SREZIC wrote: Show quoted text
> See http://analysis.cpantesters.org/reports_by_field?distv=Template- > Provider-DBIC-0.02;field=qr%3A%28Failed%20test\s%2B\S%2B.*%29 for an > overview of test reports exposing a problem with perlcritic. > > I think the fail happens only if both Test::Perl::Critic and > Perl::Critic::OTRS is 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};