File: 04_pod_coverage.t

package info (click to toggle)
libtest-compile-perl 0.13-1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 308 kB
  • ctags: 228
  • sloc: perl: 3,034; makefile: 2
file content (14 lines) | stat: -rw-r--r-- 504 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!perl -w
use strict;
use warnings;
use Test::More;
eval 'use Test::Pod::Coverage; 1'
  or plan skip_all => 'Test::Pod::Coverage required';
plan skip_all => 'skip author tests during AUTOMATED_TESTING'
  if $ENV{AUTOMATED_TESTING};
plan skip_all => "pod coverage tests turned off in environment"
  if $ENV{PERL_SKIP_POD_COVERAGE_TESTS};

# Pod::Find doesn't use require() but traverses @INC manually. *sigh*
BEGIN { unshift @INC, @Devel::SearchINC::inc if @Devel::SearchINC::inc }
all_pod_coverage_ok();