Make author tests properly author only
Tomas Doran [Tue, 24 Apr 2012 07:40:06 +0000 (08:40 +0100)]
Makefile.PL
t/author/pod.t [moved from t/99_pod.t with 100% similarity]
t/author/podcoverage.t [moved from t/99_podcoverage.t with 100% similarity]

index 17790c7..52a644c 100644 (file)
@@ -1,4 +1,5 @@
 use inc::Module::Install 0.87;
+use Module::Install::AuthorTests;
 
 if ( -e 'MANIFEST.SKIP' ) {
     system( 'pod2text lib/Catalyst/Plugin/Session.pm > README' )
@@ -34,6 +35,8 @@ test_requires 'Test::WWW::Mechanize::PSGI';
 test_requires 'Plack::Middleware::ForceEnv';
 resources repository => 'git://git.shadowcat.co.uk/catagits/Catalyst-Plugin-Session.git';
 
+author_tests 't/author';
+
 WriteAll;
 
 sub is_upgrading_needed {
similarity index 100%
rename from t/99_pod.t
rename to t/author/pod.t
similarity index 100%
rename from t/99_podcoverage.t
rename to t/author/podcoverage.t