test pod coverage as far as applicable
authorMischa POSLAWSKY <perl@shiar.org>
Fri, 30 May 2008 02:38:00 +0000 (02:38 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Sat, 31 May 2008 19:47:25 +0000 (19:47 +0000)
Changes
t/pod-coverage.t [new file with mode: 0644]

diff --git a/Changes b/Changes
index 30bd1b878b8cb8a5a91ff3e3bcd9411934f245ea..a8d2b277d0747c38c1a66dc20877dce65077230a 100644 (file)
--- a/Changes
+++ b/Changes
@@ -1,3 +1,4 @@
+- Test pod coverage
 - %header values containing newlines will be sent as multiple fields
 - All modules use warnings and contain a $VERSION
 - Fix META.yml syntax
diff --git a/t/pod-coverage.t b/t/pod-coverage.t
new file mode 100644 (file)
index 0000000..6a61ac4
--- /dev/null
@@ -0,0 +1,15 @@
+use strict;
+use warnings;
+use lib 'lib';
+
+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($_, {nonwhitespace => 1}, $_) for 'PLP::Functions';
+
+# Other modules can be assumed either private (Tie::*),
+# simple includes (Backend::* - generally only accessed by constructor),
+# or both (Fields - defying Coverage because it just exports variables).
+