Permalink
Browse files

more changes for dzilification

  • Loading branch information...
1 parent 45ddcf6 commit d050356e0905f9e3fc675acf283eafef772286fb @apocalypse committed Dec 14, 2010
View
@@ -1,3 +1,2 @@
name = Test-Apocalypse
[@Apocalyptic]
-
View
@@ -335,6 +335,10 @@ It would be nice to signal INTERNET_TESTING=0 or something zany like that so thi
=over 4
+=item * L<Test::Distribution>
+
+This module was a plugin in this testsuite but I don't need it. All the functionality in it is already replicated in the plugins :)
+
=item * L<Test::Module::Used> and L<Test::Dependencies>
They were plugins in this testsuite but since I started coding with L<Moose>, they don't work! I've switched to my homebrew solution
@@ -350,7 +354,7 @@ I always use tabs! :(
=item * L<Test::CheckManifest>
-This was a buggy dist that I dropped and is now using L<Test::DistManifest>
+This was a buggy module that I dropped and is now using L<Test::DistManifest>
=item * L<Test::Dist>
@@ -2,8 +2,6 @@ package Test::Apocalypse::CPANMeta;
# ABSTRACT: Plugin for Test::CPAN::Meta
-use Test::More;
-
use Test::CPAN::Meta 0.13;
sub do_test {
@@ -2,12 +2,20 @@ package Test::Apocalypse::CheckChanges;
# ABSTRACT: Plugin for Test::CheckChanges
-use Test::More;
+# TODO oh please don't set plan in import!
+#use Test::CheckChanges 0.08;
-use Test::CheckChanges 0.08;
+# TODO pester upstream about this hunk of code:
+#END {
+# if (!defined $test->has_plan()) {
+# $test->done_testing(1);
+# }
+#}
sub do_test {
- ok_changes();
+ require Test::CheckChanges;
+ Test::CheckChanges->import;
+ Test::CheckChanges::ok_changes();
return;
}
@@ -2,8 +2,6 @@ package Test::Apocalypse::Compile;
# ABSTRACT: Plugin for Test::Compile
-use Test::More;
-
use Test::Compile 0.11;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::ConsistentVersion;
# ABSTRACT: Plugin for Test::ConsistentVersion
-use Test::More;
-
use Test::ConsistentVersion 0.2.2;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::DistManifest;
# ABSTRACT: Plugin for Test::DistManifest
-use Test::More;
-
use Test::DistManifest 1.005;
sub do_test {
@@ -1,29 +0,0 @@
-package Test::Apocalypse::Distribution;
-
-# ABSTRACT: Plugin for Test::Distribution
-
-use Test::More;
-
-use Test::Distribution 2.00 ();
-
-sub do_test {
- # we ignore podcover because we already have a plugin for it...
- Test::Distribution->import( not => 'podcover', distversion => 1 );
-
- return;
-}
-
-1;
-
-=pod
-
-=for Pod::Coverage do_test
-
-=for stopwords distversion podcover
-
-=head1 DESCRIPTION
-
-Encapsulates L<Test::Distribution> functionality. We disable the podcover test, as we already have a plugin for that. Also, we enable the
-distversion test.
-
-=cut
@@ -2,8 +2,6 @@ package Test::Apocalypse::EOL;
# ABSTRACT: Plugin for Test::EOL
-use Test::More;
-
sub _is_release { 1 }
use Test::EOL 0.3;
@@ -2,12 +2,13 @@ package Test::Apocalypse::FilePortability;
# ABSTRACT: Plugin for Test::Portability::Files
-use Test::More;
-
-use Test::Portability::Files 0.05;
+# TODO oh please don't set plan in import!
+#use Test::Portability::Files 0.05;
sub do_test {
- run_tests();
+ require Test::Portability::Files;
+ Test::Portability::Files->import;
+ Test::Portability::Files::run_tests();
return;
}
@@ -2,8 +2,6 @@ package Test::Apocalypse::Fixme;
# ABSTRACT: Plugin for Test::Fixme
-use Test::More;
-
# RELEASE test only!
sub _is_release { 1 }
@@ -2,8 +2,6 @@ package Test::Apocalypse::HasVersion;
# ABSTRACT: Plugin for Test::HasVersion
-use Test::More;
-
use Test::HasVersion 0.012;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::METAyml;
# ABSTRACT: Plugin for Test::YAML::Meta
-use Test::More;
-
use Test::YAML::Meta 0.14;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::MinimumVersion;
# ABSTRACT: Plugin for Test::MinimumVersion
-use Test::More;
-
use Test::MinimumVersion 0.101080;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::NoBreakpoints;
# ABSTRACT: Plugin for Test::NoBreakpoints
-use Test::More;
-
use Test::NoBreakpoints 0.13;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::NoPlan;
# ABSTRACT: Plugin for Test::NoPlan
-use Test::More;
-
use Test::NoPlan 0.0.6;
sub do_test {
@@ -7,8 +7,8 @@ use Test::More;
sub _is_release { 1 }
use YAML 0.70;
-use CPANPLUS::Configure 0.90;
-use CPANPLUS::Backend 0.90;
+use CPANPLUS::Configure;
+use CPANPLUS::Backend; # TODO I want 0.90 but it doesn't specify a ver?
use version 0.77;
use Module::CoreList 2.23;
@@ -2,8 +2,6 @@ package Test::Apocalypse::PerlCritic;
# ABSTRACT: Plugin for Test::Perl::Critic
-use Test::More;
-
sub _is_release { 1 }
use Test::Perl::Critic 1.02;
@@ -2,8 +2,6 @@ package Test::Apocalypse::Pod;
# ABSTRACT: Plugin for Test::Pod
-use Test::More;
-
use Test::Pod 1.41;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::Pod_Coverage;
# ABSTRACT: Plugin for Test::Pod::Coverage
-use Test::More;
-
sub _is_release { 1 }
use Test::Pod::Coverage 1.08;
@@ -2,8 +2,6 @@ package Test::Apocalypse::Pod_LinkCheck;
# ABSTRACT: Plugin for Test::Pod::LinkCheck
-use Test::More;
-
sub _is_release { 1 }
use Test::Pod::LinkCheck 0.004;
@@ -2,8 +2,6 @@ package Test::Apocalypse::Pod_No404s;
# ABSTRACT: Plugin for Test::Pod::No404s
-use Test::More;
-
sub _is_release { 1 }
use Test::Pod::No404s 0.01;
@@ -2,8 +2,6 @@ package Test::Apocalypse::Strict;
# ABSTRACT: Plugin for Test::Strict
-use Test::More;
-
use Test::Strict 0.14;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::Synopsis;
# ABSTRACT: Plugin for Test::Synopsis
-use Test::More;
-
use Test::Synopsis 0.06;
sub do_test {
@@ -2,8 +2,6 @@ package Test::Apocalypse::UnusedVars;
# ABSTRACT: Plugin for Test::Vars
-use Test::More;
-
# TODO Disabled because Test::Vars doesn't like running under a Test::Block :(
# I think I got it to work using Test::More::subtest() but need to test more...
sub _is_disabled { 1 }
@@ -2,8 +2,6 @@ package Test::Apocalypse::UseAllModules;
# ABSTRACT: Plugin for Test::UseAllModules
-use Test::More;
-
use Test::UseAllModules 0.12;
sub do_test {

0 comments on commit d050356

Please sign in to comment.