Skip Menu |

This queue is for tickets about the Math-SlideRule CPAN distribution.

Report information
The Basics
Id: 132103
Status: open
Priority: 0/
Queue: Math-SlideRule

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

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



Subject: Can't locate Test/Pod/Coverage.pm + Can't locate Test/Pod.pm
t/pod-coverage.t and t/pod.t fail if the required modules are not yet installed --- probably the tests should run conditional, only if the test modules are installed: ... Can't locate Test/Pod/Coverage.pm in @INC (you may need to install the Test::Pod::Coverage module) (@INC contains: ... .) at t/pod-coverage.t line 7. BEGIN failed--compilation aborted at t/pod-coverage.t line 7. t/pod-coverage.t ....... Dubious, test returned 2 (wstat 512, 0x200) No subtests run Can't locate Test/Pod.pm in @INC (you may need to install the Test::Pod module) (@INC contains: ... .) at t/pod.t line 7. BEGIN failed--compilation aborted at t/pod.t line 7. t/pod.t ................ Dubious, test returned 2 (wstat 512, 0x200) ...
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};