Skip Menu |

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

Report information
The Basics
Id: 74388
Status: resolved
Priority: 0/
Queue: Template-Toolkit

People
Owner: Nobody in particular
Requestors: zefram [...] fysh.org
Cc:
AdminCc:

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



Subject: POD coverage fail
Date: Wed, 25 Jan 2012 19:50:34 +0000
To: bug-Template-Toolkit [...] rt.cpan.org
From: Zefram <zefram [...] fysh.org>
Template-Toolkit-2.23 fails its test suite under AUTOMATED_TESTING: t/zz-pod-coverage.t ... 1/7 # Failed test 'Pod coverage on Template' # at t/zz-pod-coverage.t line 29. # Coverage for Template is 75.0%, with 1 naked subroutine: # template # Looks like you failed 1 test of 7. t/zz-pod-coverage.t ... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/7 subtests I'm using AUTOMATED_TESTING to suppress interactive aspects of some module installs. I see TT is using its other meaning, of enabling extra tests. -zefram
On 2012-01-25 11:50:48, zefram@fysh.org wrote: Show quoted text
> Template-Toolkit-2.23 fails its test suite under AUTOMATED_TESTING: > > t/zz-pod-coverage.t ... 1/7 > # Failed test 'Pod coverage on Template' > # at t/zz-pod-coverage.t line 29. > # Coverage for Template is 75.0%, with 1 naked subroutine: > # template > # Looks like you failed 1 test of 7. > t/zz-pod-coverage.t ... Dubious, test returned 1 (wstat 256, 0x100) > Failed 1/7 subtests > > I'm using AUTOMATED_TESTING to suppress interactive aspects of some module > installs. I see TT is using its other meaning, of enabling extra tests. > > -zefram
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, 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};
Ticket migrated to github as https://github.com/abw/Template2/issues/156