Return true from the tests so that I can require them
Tomas Doran [Fri, 27 Nov 2009 01:16:43 +0000 (01:16 +0000)]
share/t/01app.t.tt
share/t/02pod.t.tt
share/t/03podcoverage.t.tt
share/t/comptest.tt

index d0f43dd..7a14cbb 100644 (file)
@@ -8,3 +8,4 @@ BEGIN { use_ok 'Catalyst::Test', '[% name %]' }
 ok( request('/')->is_success, 'Request should succeed' );
 
 done_testing();
+1;
index 64fabdd..36a814f 100644 (file)
@@ -8,3 +8,4 @@ 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();
+1;
index 38147ef..37ab26e 100644 (file)
@@ -8,3 +8,4 @@ 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();
+1;
index 533a5ff..00800f8 100644 (file)
@@ -24,3 +24,4 @@ BEGIN { use_ok '[% class %]' }
 [% END %]
 
 done_testing();
+1;