File: pod_coverage.t

package info (click to toggle)
libppix-regexp-perl 0.089-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,520 kB
  • sloc: perl: 8,012; makefile: 8
file content (32 lines) | stat: -rw-r--r-- 482 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
21
22
23
24
25
26
27
28
29
30
31
32
package main;

use strict;
use warnings;

use Test::More 0.88;

BEGIN {
    eval {
	require Test::Pod::Coverage;
	Test::Pod::Coverage->VERSION(1.00);
	Test::Pod::Coverage->import();
	1;
    } or do {
	print <<eod;
1..0 # skip Test::Pod::Coverage 1.00 or greater required.
eod
	exit;
    };
}

foreach ( all_modules() ) {
    pod_coverage_ok ( $_, {
	    also_private => [ qr{^[[:upper:]\d_]+$}, ],
	    coverage_class => 'Pod::Coverage::CountParents'
	}
    );
}

done_testing;

1;