[Catalyst-commits] r10335 -
Catalyst-Devel/1.00/branches/helper_refactor/share/root
dhoss at dev.catalyst.perl.org
dhoss at dev.catalyst.perl.org
Thu May 28 06:51:17 GMT 2009
Author: dhoss
Date: 2009-05-28 06:51:17 +0000 (Thu, 28 May 2009)
New Revision: 10335
Added:
Catalyst-Devel/1.00/branches/helper_refactor/share/root/apptest.tt
Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt
Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt
Log:
added missing test files
Added: Catalyst-Devel/1.00/branches/helper_refactor/share/root/apptest.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/apptest.tt (rev 0)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/apptest.tt 2009-05-28 06:51:17 UTC (rev 10335)
@@ -0,0 +1,20 @@
+[% startperl %]
+use strict;
+use warnings;
+use Test::More tests => 2;
+
+BEGIN { use_ok 'Catalyst::Test', '[% name %]' }
+
+ok( request('/')->is_success, 'Request should succeed' );
+__podtest__
+[% startperl %]
+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();
+
Added: Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt (rev 0)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/podcoveragetest.tt 2009-05-28 06:51:17 UTC (rev 10335)
@@ -0,0 +1,11 @@
+[% startperl %]
+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();
+
Added: Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt
===================================================================
--- Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt (rev 0)
+++ Catalyst-Devel/1.00/branches/helper_refactor/share/root/podtest.tt 2009-05-28 06:51:17 UTC (rev 10335)
@@ -0,0 +1,11 @@
+[% startperl %]
+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();
+
More information about the Catalyst-commits
mailing list