From: Jason Mills Date: Fri, 28 Feb 2014 02:27:29 +0000 (-0800) Subject: move author tests to where they belong X-Git-Tag: v0.04~5 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e3fa930182444d8afbdfc830dbca1a9a6bffbbe4;p=dbsrgits%2FDBIx-Class-InflateColumn-Object-Enum.git move author tests to where they belong --- diff --git a/xt/pod-coverage.t b/xt/pod-coverage.t new file mode 100644 index 0000000..fc40a57 --- /dev/null +++ b/xt/pod-coverage.t @@ -0,0 +1,18 @@ +use strict; +use warnings; +use Test::More; + +# 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 $@; + +all_pod_coverage_ok(); diff --git a/xt/pod.t b/xt/pod.t new file mode 100644 index 0000000..ee8b18a --- /dev/null +++ b/xt/pod.t @@ -0,0 +1,12 @@ +#!perl -T + +use strict; +use warnings; +use Test::More; + +# Ensure a recent version of Test::Pod +my $min_tp = 1.22; +eval "use Test::Pod $min_tp"; +plan skip_all => "Test::Pod $min_tp required for testing POD" if $@; + +all_pod_files_ok();