File: 012_pod_coverage.t

package info (click to toggle)
libxml-rss-feed-perl 2.212-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 312 kB
  • sloc: perl: 2,581; makefile: 2
file content (17 lines) | stat: -rwxr-xr-x 346 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/perl
use strict;
use warnings;
use Test::More;

BEGIN {
    eval { require Test::Pod::Coverage; };
    my $test_pod_coverage = $@ ? 0 : 1;
    sub TEST_POD_COVERAGE {$test_pod_coverage}
}

if (TEST_POD_COVERAGE) {
    eval { Test::Pod::Coverage::all_pod_coverage_ok() };
}
else {
    plan skip_all => "Test::Pod::Coverage required";
}