xt/02-pod.t
raw| 1 | #!perl |
| 2 | |
| 3 | use Test::More; |
| 4 | |
| 5 | if (!$ENV{'QPSMTPD_DEVELOPER'}) { |
| 6 | plan skip_all => "not a developer, skipping POD tests"; |
| 7 | exit; |
| 8 | } |
| 9 | |
| 10 | eval "use Test::Pod 1.14"; |
| 11 | if ($@) { |
| 12 | plan skip_all => "Test::Pod 1.14 required for testing POD"; |
| 13 | exit; |
| 14 | } |
| 15 | |
| 16 | my @poddirs = qw( lib plugins ); |
| 17 | all_pod_files_ok(all_pod_files(@poddirs)); |
| 18 | done_testing(); |