summaryrefslogtreecommitdiff
path: root/t/003_all_pm_pod.t
blob: 4911c4ff2e68081f2af752ec5a31adf208722939 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use strict;
use warnings;

use Test::More;

plan skip_all => "File::Find not installed" unless eval { require File::Find };
plan skip_all => "Test::Pod not installed" unless eval { require Test::Pod };
plan tests => 98;

my @files;
File::Find::find({ wanted=>sub { push @files, $_ if /\.pm$/ }, no_chdir=>1 }, 'lib');

for my $m (sort @files) {
  Test::Pod::pod_file_ok( $m, "Valid POD in '$m'" );
}