From 439981a033a1133febc977bbf57dcc464bbf0d25 Mon Sep 17 00:00:00 2001 From: Mischa POSLAWSKY Date: Fri, 30 May 2008 02:38:00 +0000 Subject: [PATCH] test pod coverage as far as applicable --- Changes | 1 + t/pod-coverage.t | 15 +++++++++++++++ 2 files changed, 16 insertions(+) create mode 100644 t/pod-coverage.t diff --git a/Changes b/Changes index 30bd1b8..a8d2b27 100644 --- 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 index 0000000..6a61ac4 --- /dev/null +++ b/t/pod-coverage.t @@ -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). + -- 2.30.0