add basic tests
[WWW-Mechanize-Script.git] / t / pod-coverage.t
blobfc40a57c2a4c56d56ddc0f1fe32737d11592d6f7
1 use strict;
2 use warnings;
3 use Test::More;
5 # Ensure a recent version of Test::Pod::Coverage
6 my $min_tpc = 1.08;
7 eval "use Test::Pod::Coverage $min_tpc";
8 plan skip_all => "Test::Pod::Coverage $min_tpc required for testing POD coverage"
9     if $@;
11 # Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
12 # but older versions don't recognize some common documentation styles
13 my $min_pc = 0.18;
14 eval "use Pod::Coverage $min_pc";
15 plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
16     if $@;
18 all_pod_coverage_ok();