Subject: | Pod::Coverage not detected correctly |
Date: | Sat, 17 Mar 2012 20:20:34 -0500 |
To: | bugs-test-kwalitee [...] rt.cpan.org |
From: | Caleb Cushing <xenoterracide [...] gmail.com> |
t/release-kwalitee.t .......... 1/13
# Failed test 'has_test_pod'
# at /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/Kwalitee.pm
line 101.
# Add a test using Test::Pod to check for pod correctness.Doesn't
include a test for pod correctness (Test::Pod)
# Failed test 'has_test_pod_coverage'
# at /home/xenoterracide/perl5/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/Test/Kwalitee.pm
line 101.
# Add a test using Test::Pod::Coverage to check for POD
coverage.Doesn't include a test for pod coverage (Test::Pod::Coverage)
# Looks like you failed 2 tests of 13.
t/release-kwalitee.t .......... Dubious, test returned 2 (wstat 512, 0x200)
grep -r Test::Pod::Coverage t
t/release-pod-coverage.t:eval "use Test::Pod::Coverage 1.08";
t/release-pod-coverage.t:plan skip_all => "Test::Pod::Coverage 1.08
required for testing POD coverage"
that actual file
#!perl
BEGIN {
unless ($ENV{RELEASE_TESTING}) {
require Test::More;
Test::More::plan(skip_all => 'these tests are for release
candidate testing');
}
}
use Test::More;
eval "use Test::Pod::Coverage 1.08";
plan skip_all => "Test::Pod::Coverage 1.08 required for testing POD coverage"
if $@;
eval "use Pod::Coverage::TrustPod";
plan skip_all => "Pod::Coverage::TrustPod required for testing POD coverage"
if $@;
all_pod_coverage_ok({ coverage_class => 'Pod::Coverage::TrustPod' });
--
Caleb Cushing
http://xenoterracide.com