Skip Menu |

This queue is for tickets about the Test-Pod-Coverage CPAN distribution.

Report information
The Basics
Id: 4852
Status: resolved
Priority: 0/
Queue: Test-Pod-Coverage

People
Owner: Nobody in particular
Requestors: andy [...] petdance.com
Cc:
AdminCc:

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



Date: Tue, 6 Jan 2004 20:28:03 -0600
From: Andy Lester <andy [...] petdance.com>
To: bug-test-pod-coverage [...] rt.cpan.org
Subject: Failed POD tests should say what failed
JT rightly points out that if a function doesn't have docs, it should tell us what that function is, so we don't have to go hunting for it. -- Andy Lester => andy@petdance.com => www.petdance.com => AIM:petdance
[PETDANCE - Tue Jan 6 21:28:08 2004]: Show quoted text
> JT rightly points out that if a function doesn't have docs, it should > tell us what that function is, so we don't have to go hunting for it. >
That's right, here's a "patch" $Test->diag( sprintf( "Coverage is %3.1f%%", $rating*100) . join("\n", "\n NAKED ",map {"=> $_" } $pc->naked) );
[PETDANCE - Tue Jan 6 21:28:08 2004]: Show quoted text
> JT rightly points out that if a function doesn't have docs, it should > tell us what that function is, so we don't have to go hunting for it. >
while i'm at it, you should also ammend the pod to include use Test::More; eval "use Test::Pod::Coverage();"; plan skip_all => "Test::Pod::Coverage required for testing pod coverage" if $@; plan tests => 1; pod_coverage_ok( "Pod::Master::Html");