Skip Menu |

This queue is for tickets about the IPC-Run CPAN distribution.

Report information
The Basics
Id: 86133
Status: resolved
Worked: 10 min
Priority: 0/
Queue: IPC-Run

People
Owner: TODDR [...] cpan.org
Requestors: perl-cpan [...] bereft.net
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.92
Fixed in: 0.93



Subject: AUTOMATED_TESTING and failure t/98_pod_coverage.t
Hello, We use AUTOMATED_TESTING=1 to build a large number of modules in an automated manner, but the logic in t/98_pod_coverage.t ironically broke this recently. We don't have RELEASE_TESTING set. "unless" combined with and/or error prone, so I'm not sure what the intention is below: t/98_pod_coverage.t # Don't run tests during end-user installs use Test::More; unless ( $ENV{AUTOMATED_TESTING} or $ENV{RELEASE_TESTING} ) { plan( skip_all => "Author tests not required for installation" ); } # Failed test 'Test IPC::Run::Win32Helper that all modules are documented.' # at t/98_pod_coverage.t line 38. # IPC::Run::Win32Helper: requiring 'IPC::Run::Win32Helper' failed # Failed test 'Test IPC::Run::Win32IO that all modules are documented.' # at t/98_pod_coverage.t line 39. # IPC::Run::Win32IO: requiring 'IPC::Run::Win32IO' failed # Failed test 'Test IPC::Run::Win32Pump that all modules are documented.' # at t/98_pod_coverage.t line 40. # IPC::Run::Win32Pump: requiring 'IPC::Run::Win32Pump' failed # Looks like you failed 3 tests of 7. End-users also use AUTOMATED_TESTING in practice, usually to make chatty installations like Term::* to just do it. There's TEST_AUTHOR=1 as a recommended alternative: http://search.cpan.org/~thaljef/Test-Perl-Critic-1.02/lib/Test/Perl/Critic.pm Thanks, Brad
This ticket refers to the fact that the t/98_pod_coverage.t is failing for users that have Test::Pod::Coverage installed. The fact that the test is skipped when AUTOMATED_TESTING is not set, is (imho) only a marginal observation. Sample fail report: http://www.cpantesters.org/cpan/report/31478879 Interestingly, the cited report is from 2013-06 and was the first one of its kind, so apparently something has changed behind the scenes. Solutions to the problem would either be to fix the coverage problem *OR* to make the test an author-only test.
I've TODO'd these tests.
On Thu Dec 11 00:31:14 2014, TODDR wrote: Show quoted text
> I've TODO'd these tests.
Released to CPAN as 0.93