diff options
Diffstat (limited to 'GroLUG/t')
-rw-r--r-- | GroLUG/t/01app.t | 7 | ||||
-rw-r--r-- | GroLUG/t/02pod.t | 9 | ||||
-rw-r--r-- | GroLUG/t/03podcoverage.t | 9 |
3 files changed, 25 insertions, 0 deletions
diff --git a/GroLUG/t/01app.t b/GroLUG/t/01app.t new file mode 100644 index 0000000..4c64994 --- /dev/null +++ b/GroLUG/t/01app.t @@ -0,0 +1,7 @@ +use strict; +use warnings; +use Test::More tests => 2; + +BEGIN { use_ok 'Catalyst::Test', 'GroLUG' } + +ok( request('/')->is_success, 'Request should succeed' ); diff --git a/GroLUG/t/02pod.t b/GroLUG/t/02pod.t new file mode 100644 index 0000000..251640d --- /dev/null +++ b/GroLUG/t/02pod.t @@ -0,0 +1,9 @@ +use strict; +use warnings; +use Test::More; + +eval "use Test::Pod 1.14"; +plan skip_all => 'Test::Pod 1.14 required' if $@; +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; + +all_pod_files_ok(); diff --git a/GroLUG/t/03podcoverage.t b/GroLUG/t/03podcoverage.t new file mode 100644 index 0000000..ae59d4c --- /dev/null +++ b/GroLUG/t/03podcoverage.t @@ -0,0 +1,9 @@ +use strict; +use warnings; +use Test::More; + +eval "use Test::Pod::Coverage 1.04"; +plan skip_all => 'Test::Pod::Coverage 1.04 required' if $@; +plan skip_all => 'set TEST_POD to enable this test' unless $ENV{TEST_POD}; + +all_pod_coverage_ok(); |