diff options
author | Mark Wells <mark@freeside.biz> | 2012-07-13 10:59:53 -0700 |
---|---|---|
committer | Mark Wells <mark@freeside.biz> | 2012-07-13 10:59:53 -0700 |
commit | a3deab8366fdd1cdc702007d9bb3e9fdace52d67 (patch) | |
tree | 6cd8f5d1efd1c8eaa4779cd5e9a876bb556acc2d /t |
initial commit
Diffstat (limited to 't')
-rw-r--r-- | t/00-load.t | 9 | ||||
-rw-r--r-- | t/manifest.t | 13 | ||||
-rw-r--r-- | t/pod.t | 12 |
3 files changed, 34 insertions, 0 deletions
diff --git a/t/00-load.t b/t/00-load.t new file mode 100644 index 0000000..2ef2f09 --- /dev/null +++ b/t/00-load.t @@ -0,0 +1,9 @@ +#!perl -T + +use Test::More tests => 1; + +BEGIN { + use_ok( 'Business::BatchPayment::KeyBank' ) || print "Bail out!\n"; +} + +diag( "Testing Business::BatchPayment::KeyBank $Business::BatchPayment::KeyBank::VERSION, Perl $], $^X" ); diff --git a/t/manifest.t b/t/manifest.t new file mode 100644 index 0000000..45eb83f --- /dev/null +++ b/t/manifest.t @@ -0,0 +1,13 @@ +#!perl -T + +use strict; +use warnings; +use Test::More; + +unless ( $ENV{RELEASE_TESTING} ) { + plan( skip_all => "Author tests not required for installation" ); +} + +eval "use Test::CheckManifest 0.9"; +plan skip_all => "Test::CheckManifest 0.9 required" if $@; +ok_manifest(); @@ -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(); |