File: pod_coverage.t

package info (click to toggle)
libtest-data-perl 1.248-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 200 kB
  • sloc: perl: 471; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use Test::More;
eval "use Test::Pod::Coverage";

if( $@ ) {
	plan skip_all => "Test::Pod::Coverage required for testing POD";
	}
else {
	my @modules = qw(
		Test::Data
		Test::Data::Array
		Test::Data::Function
		Test::Data::Hash
		Test::Data::Scalar
		);

	plan tests => scalar @modules;

	pod_coverage_ok( $_, { trustme => [ qr/VERSION/ ] } )
		foreach ( @modules );
	}