Alien-SNMP

 view release on metacpan or  search on metacpan

t/pod-coverage.t  view on Meta::CPAN

#!perl -T
use 5.006;
use strict;
use warnings;
use Test::More;

unless ( $ENV{RELEASE_TESTING} ) {
    plan( skip_all => "Author tests not required for installation" );
}

# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";
plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
    if $@;

# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
# but older versions don't recognize some common documentation styles
my $min_pc = 0.18;
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
    if $@;

# Scoped to lib/: the default is blib, which also holds Alien::Build::MM's
# machine-generated Alien::SNMP::Install::Files shim and the bundled Net-SNMP perl
# modules (SNMP.pm, NetSNMP::*) staged there by the alienfile.  Neither is ours to
# document.
my @modules = all_modules('lib');
plan tests => scalar @modules;
pod_coverage_ok($_, "Pod coverage on $_") for @modules;



( run in 0.358 second using v1.01-cache-2.11-cpan-4e7a2411597 )