summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMark Wells <mark@freeside.biz>2014-07-06 20:29:15 -0700
committerMark Wells <mark@freeside.biz>2014-07-06 20:29:15 -0700
commitb65e5d4b1a15d2896995b239fba7b8871e93f27f (patch)
treef9ac957f073342f0523e27420688ebc74f2a4958 /t
Import original source of WebService-Northern911 0.1
Diffstat (limited to 't')
-rw-r--r--t/00-load.t13
-rw-r--r--t/manifest.t15
-rw-r--r--t/pod.t12
3 files changed, 40 insertions, 0 deletions
diff --git a/t/00-load.t b/t/00-load.t
new file mode 100644
index 0000000..adcfbef
--- /dev/null
+++ b/t/00-load.t
@@ -0,0 +1,13 @@
+#!perl -T
+use 5.006;
+use strict;
+use warnings FATAL => 'all';
+use Test::More;
+
+plan tests => 1;
+
+BEGIN {
+ use_ok( 'WebService::Northern911' ) || print "Bail out!\n";
+}
+
+diag( "Testing WebService::Northern911 $WebService::Northern911::VERSION, Perl $], $^X" );
diff --git a/t/manifest.t b/t/manifest.t
new file mode 100644
index 0000000..6ddfe36
--- /dev/null
+++ b/t/manifest.t
@@ -0,0 +1,15 @@
+#!perl -T
+use 5.006;
+use strict;
+use warnings FATAL => 'all';
+use Test::More;
+
+unless ( $ENV{RELEASE_TESTING} ) {
+ plan( skip_all => "Author tests not required for installation" );
+}
+
+my $min_tcm = 0.9;
+eval "use Test::CheckManifest $min_tcm";
+plan skip_all => "Test::CheckManifest $min_tcm required" if $@;
+
+ok_manifest();
diff --git a/t/pod.t b/t/pod.t
new file mode 100644
index 0000000..a0054e9
--- /dev/null
+++ b/t/pod.t
@@ -0,0 +1,12 @@
+#!perl -T
+use 5.006;
+use strict;
+use warnings FATAL => 'all';
+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();