Permalink
Browse files

start of dzilification

  • Loading branch information...
1 parent 1f86ced commit 666b91289aea48ef17836cdd4f4d20c84b2444ea @apocalypse committed Dec 14, 2010
View
@@ -1,4 +1 @@
-LICENSE
-META.yml
-README
-Makefile.PL
+/Test-Apocalypse-*
View
109 Build.PL
@@ -1,109 +0,0 @@
-# Build.PL
-use strict; use warnings;
-use Module::Build;
-
-my $build = Module::Build->new(
- # look up Module::Build::API for the info!
- 'dynamic_config' => 0,
- 'module_name' => 'Test::Apocalypse',
- 'license' => 'perl',
-
- 'dist_abstract' => "Apocalypse's favorite tests bundled into a simple interface",
- 'dist_author' => 'Apocalypse <APOCAL@cpan.org>',
-
- 'create_packlist' => 1,
- 'create_makefile_pl' => 'traditional',
- 'create_readme' => 1,
- 'create_license' => 1,
- 'sign' => 0,
-
- 'test_files' => 't/*.t',
-
- 'requires' => {
- # FIXME this sucks, I have to repeat the version here and in the Test::Apocalypse::XYZ module...
- # Dist::Zilla will solve it! I need to switch someday :)
-
- # Test stuff
- 'Test::More' => '0.94',
- 'Test::Compile' => '0.11',
- 'Test::Perl::Critic' => '1.02',
- 'Test::Distribution' => '2.00',
- 'Test::Fixme' => '0.04',
- 'Test::HasVersion' => '0.012',
- 'Test::MinimumVersion' => '0.101080',
- 'Test::Pod::Coverage' => '1.08',
- 'Test::Spelling' => '0.11',
- 'Test::Pod' => '1.41',
- 'Test::Prereq' => '1.037',
- 'Test::Prereq::Build' => '1.037',
- 'Test::Strict' => '0.14',
- 'Test::UseAllModules' => '0.12',
- 'Test::YAML::Meta' => '0.14',
- 'Test::NoWarnings' => '0.084',
- 'Test::CheckChanges' => '0.08',
- 'Test::File' => '1.29',
- 'Test::Dir' => '1.006',
- 'Test::Signature' => '1.10',
- 'Test::Portability::Files' => '0.05',
- 'Test::DistManifest' => '1.005',
- 'Test::Synopsis' => '0.06',
- 'Test::CPAN::Meta' => '0.13',
- 'Test::NoBreakpoints' => '0.13',
- 'Test::EOL' => '0.3',
-# 'Test::ConsistentVersion' => '0.2.2', # M::B::Compat 0.36 doesn't like this!
- 'Test::ConsistentVersion' => '0.002002',
- 'Test::AutoLoader' => '0.03',
- 'Test::Pod::No404s' => '0.01',
- 'Test::JSON::Meta' => '0.04',
- 'Test::NoPlan' => '0.000006', # Same M::B::Compat issue
- 'Test::Vars' => '0.001',
- 'Test::Script' => '1.07',
- 'Pod::Coverage::TrustPod' => '0.092830',
- 'Test::Pod::LinkCheck' => '0.004',
- 'Test::Deep' => '0.108',
-
- # handy tools
- 'File::Spec' => '3.31',
- 'File::Find::Rule' => '0.32',
- 'Module::CPANTS::Analyse' => '0.85',
- 'Perl::Metrics::Simple' => '0.13',
- 'Test::Block' => '0.11',
- 'YAML' => '0.70',
- 'version' => '0.77',
- 'Devel::PPPort' => '3.19',
- 'Module::CoreList' => '2.23',
- 'Module::Pluggable' => '3.9',
- 'File::Which' => '1.09',
- 'File::Slurp' => '9999.13',
- 'YAML::Any' => '0.72',
- 'JSON::Any' => '1.25',
- 'Perl::PrereqScanner' => '1.000',
-
- # We can't specify the CPANPLUS::Configure/Backend module because...
-#apoc@blackhole:~/mygit/perl-test-apocalypse$ perl Build.PL
-#Checking prerequisites...
-# requires:
-# ! CPANPLUS::Backend (0) is installed, but we need version >= 0.90
-# ! CPANPLUS::Configure (0) is installed, but we need version >= 0.90
- 'CPANPLUS' => '0.90',
-
- # Perl::Critic extensions so we're sure we are testing every one of them, ha!
- 'Task::Perl::Critic' => '1.007',
-
- # we need a recent perl
- 'perl' => '5.008',
- },
-
- # include the standard stuff in META.yml
- 'meta_merge' => {
- 'resources' => {
- 'license' => 'http://dev.perl.org/licenses/',
- 'homepage' => 'http://search.cpan.org/dist/Test-Apocalypse',
- 'bugtracker' => 'http://rt.cpan.org/NoAuth/Bugs.html?Dist=Test-Apocalypse',
- 'repository' => 'http://github.com/apocalypse/perl-test-apocalypse',
- },
- },
-);
-
-# all done!
-$build->create_build_script;
View
28 Changes
@@ -1,6 +1,12 @@
Revision history for Perl extension Test::Apocalypse
-* 0.11
+{{$NEXT}}
+
+ Converted to Dist::Zilla for the release process!
+ Tweaked the internals to cleanup automated issues
+ Tweaked the internals to skip TODO tests
+
+0.11
Added Test::Vars to the testsuite
Added Test::Script to the testsuite
@@ -13,7 +19,7 @@ Revision history for Perl extension Test::Apocalypse
Fixed a bug in OutdatedPrereqs where it complained if the CPAN version was older than what was specified.
Added Test::Pod::LinkCheck to the testsuite
-* 0.10
+0.10
Added smart AUTOMATED_TESTING logic so we are now behaving in the same way as Alias envisaged
This means certain tests are disabled when AUTOMATED is set :)
@@ -25,25 +31,25 @@ Revision history for Perl extension Test::Apocalypse
Added Test::NoPlan to the testsuite
Added debugging of test info, thanks POE::Test::Loops!
-* 0.09
+0.09
Added the PERL_APOCALYPSE env var to override test selection and test all plugins
Run the plugins in alphabetical order, which is prettier :)
Removed the crappy stopwords addition in Pod_Spelling test
Added Test::JSON::Meta to the testsuite
-* 0.08
+0.08
Minor POD tweaks
Added Test::Pod::No404s to the testsuite
Fixed a warning in the PerlMetrics test so we don't cause FAILs with the Test::NoWarnings module :(
-* 0.07
+0.07
Fixed a issue with META.yml quoting causing parse failures when using tools that depend on it
Upgraded Module::Build to 0.3601, had to change prereq from '0.2.2' to '0.002002' to satisfy M::B::Compat :(
-* 0.06
+0.06
Fixed OutdatedPrereqs test so it doesn't blow up on zero prereqs - thanks Ryan52!
Added $@ to the module load failure output, for better debugging - thanks Ryan52!
@@ -59,26 +65,26 @@ Revision history for Perl extension Test::Apocalypse
Oops, Module::Pluggable wasn't listed as a prereq!
Sorry - added a lot of Perl::Critic extensions so you will not get failed tests because you missed to test an extension!
-* 0.05
+0.05
Added Test::Module::Used to the testsuite
Added Test::Synopsis to the testsuite
Enabled the Test::Pod::Coverage test, it was previously disabled by mistake!
Changed to the new ENV var scheme, proposed by Alias ( and thanks to JAWNSY for prodding me )
-* 0.04
+0.04
Removed Test::CheckManifest and replaced with Test::DistManifest, thanks JAWNSY!
Various POD cleanups and additions
-* 0.03
+0.03
Added more tests :)
-* 0.02
+0.02
fix bad test
-* 0.01
+0.01
initial release
View
@@ -1,53 +0,0 @@
-Build.PL
-MANIFEST
-MANIFEST.SKIP
-README
-Makefile.PL
-META.yml
-Changes
-LICENSE
-
-lib/Test/Apocalypse.pm
-lib/Test/Apocalypse/Compile.pm
-lib/Test/Apocalypse/Dependencies.pm
-lib/Test/Apocalypse/DOSnewline.pm
-lib/Test/Apocalypse/Fixme.pm
-lib/Test/Apocalypse/HasVersion.pm
-lib/Test/Apocalypse/Kwalitee.pm
-lib/Test/Apocalypse/METAyml.pm
-lib/Test/Apocalypse/MinimumVersion.pm
-lib/Test/Apocalypse/PerlCritic.pm
-lib/Test/Apocalypse/PerlMetrics.pm
-lib/Test/Apocalypse/Pod_Coverage.pm
-lib/Test/Apocalypse/Pod_Spelling.pm
-lib/Test/Apocalypse/Pod.pm
-lib/Test/Apocalypse/Prereq_Build.pm
-lib/Test/Apocalypse/Prereq.pm
-lib/Test/Apocalypse/Strict.pm
-lib/Test/Apocalypse/UseAllModules.pm
-lib/Test/Apocalypse/Distribution.pm
-lib/Test/Apocalypse/OutdatedPrereqs.pm
-lib/Test/Apocalypse/PPPort.pm
-lib/Test/Apocalypse/CheckChanges.pm
-lib/Test/Apocalypse/FileChecks.pm
-lib/Test/Apocalypse/DirChecks.pm
-lib/Test/Apocalypse/Signature.pm
-lib/Test/Apocalypse/FilePortability.pm
-lib/Test/Apocalypse/DistManifest.pm
-lib/Test/Apocalypse/CPANMeta.pm
-lib/Test/Apocalypse/Synopsis.pm
-lib/Test/Apocalypse/NoBreakpoints.pm
-lib/Test/Apocalypse/EOL.pm
-lib/Test/Apocalypse/ConsistentVersion.pm
-lib/Test/Apocalypse/AutoLoader.pm
-lib/Test/Apocalypse/Pod_No404s.pm
-lib/Test/Apocalypse/JSONMeta.pm
-lib/Test/Apocalypse/NoPlan.pm
-lib/Test/Apocalypse/UnusedVars.pm
-lib/Test/Apocalypse/Script.pm
-lib/Test/Apocalypse/Pod_LinkCheck.pm
-
-examples/simple.pl
-
-t/1_load.t
-t/apocalypse.t
View
@@ -1,30 +0,0 @@
-# skip Eclipse IDE stuff
-\.includepath$
-\.project$
-\.settings/
-
-# Avoid version control files.
-\B\.svn\b
-\B\.git\b
-^\.gitignore$
-
-# Avoid Makemaker generated and utility files.
-\bMakefile$
-\bblib/
-\bMakeMaker-\d
-\bpm_to_blib$
-
-# Avoid Module::Build generated and utility files.
-\bBuild$
-\b_build/
-^MYMETA.yml$
-
-# Avoid temp and backup files.
-~$
-\.old$
-\#$
-\b\.#
-\.bak$
-
-# our tarballs
-\.tar\.gz$
View
@@ -0,0 +1,3 @@
+name = Test-Apocalypse
+[@Apocalyptic]
+
View
@@ -7,7 +7,5 @@
if ( $@ ) {
plan skip_all => 'Test::Apocalypse required for validating the distribution';
} else {
- # lousy hack for kwalitee
- require Test::NoWarnings; require Test::Pod; require Test::Pod::Coverage;
is_apocalypse_here();
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
View
@@ -1,17 +0,0 @@
-#!/usr/bin/perl
-use strict; use warnings;
-
-my $numtests;
-BEGIN {
- $numtests = 1;
-
- eval "use Test::NoWarnings";
- if ( ! $@ ) {
- # increment by one
- $numtests++;
- }
-}
-
-use Test::More tests => $numtests;
-
-use_ok( 'Test::Apocalypse' );
View
@@ -1,11 +0,0 @@
-#!/usr/bin/perl
-use strict; use warnings;
-
-use Test::More;
-eval "use Test::Apocalypse 0.10";
-if ( $@ ) {
- plan skip_all => 'Test::Apocalypse required for validating the distribution';
-} else {
- require Test::NoWarnings; require Test::Pod; require Test::Pod::Coverage; # lousy hack for kwalitee
- is_apocalypse_here();
-}

0 comments on commit 666b912

Please sign in to comment.