aboutsummaryrefslogtreecommitdiffstats
path: root/t
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-02-22 14:48:49 +0000
committerEdmund von der Burg <evdb@mysociety.org>2011-02-22 14:48:49 +0000
commit6d4dbdb7bfa1af7c1a34c57fe01198e861fb4b4a (patch)
tree7abf37f3561c3cda205d979bfc2c7df322c667e8 /t
parent79240856cba7e507b5500288cbfa1c99263d824b (diff)
Created app using catalyst.pl
Diffstat (limited to 't')
-rw-r--r--t/01app.t10
-rw-r--r--t/02pod.t10
-rw-r--r--t/03podcoverage.t14
3 files changed, 34 insertions, 0 deletions
diff --git a/t/01app.t b/t/01app.t
new file mode 100644
index 000000000..02ffcd217
--- /dev/null
+++ b/t/01app.t
@@ -0,0 +1,10 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+
+use Catalyst::Test 'FixMyStreet::App';
+
+ok( request('/')->is_success, 'Request should succeed' );
+
+done_testing();
diff --git a/t/02pod.t b/t/02pod.t
new file mode 100644
index 000000000..ababc2eaa
--- /dev/null
+++ b/t/02pod.t
@@ -0,0 +1,10 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+eval "use Test::Pod 1.14";
+plan skip_all => 'Test::Pod 1.14 required' if $@;
+
+all_pod_files_ok();
diff --git a/t/03podcoverage.t b/t/03podcoverage.t
new file mode 100644
index 000000000..6ddc5c6b6
--- /dev/null
+++ b/t/03podcoverage.t
@@ -0,0 +1,14 @@
+#!/usr/bin/env perl
+use strict;
+use warnings;
+use Test::More;
+
+plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD};
+
+eval "use Test::Pod::Coverage 1.04";
+plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@;
+
+eval "use Pod::Coverage 0.20";
+plan skip_all => 'Pod::Coverage 0.20 required' if $@;
+
+all_pod_coverage_ok();