From: Mischa POSLAWSKY Date: Fri, 30 May 2008 02:38:00 +0000 (+0000) Subject: test pod coverage as far as applicable X-Git-Tag: 3.21~12 X-Git-Url: http://git.shiar.nl/perl/plp/.git/commitdiff_plain/439981a033a1133febc977bbf57dcc464bbf0d25 test pod coverage as far as applicable --- 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). +