Test-Simpler
view release on metacpan or search on metacpan
use Module::Build;
my $builder = Module::Build->new(
module_name => 'Test::Simpler',
license => 'perl',
dist_author => 'Damian Conway <DCONWAY@CPAN.org>',
dist_version_from => 'lib/Test/Simpler.pm',
requires => {
'Test::More' => 0,
'Test::Builder::Module' => 0,
'PadWalker' => 0,
'Data::Dump' => 0,
'PPI' => 0,
},
add_to_cleanup => [ 'Test-Simpler-*' ],
);
$builder->create_build_script();
},
"configure" : {
"requires" : {
"ExtUtils::MakeMaker" : "0"
}
},
"runtime" : {
"requires" : {
"Data::Dump" : "0",
"PPI" : "0",
"PadWalker" : "0",
"Test::Builder::Module" : "0",
"Test::More" : "0"
}
}
},
"release_status" : "stable",
"version" : "0.000008",
"x_serialization_backend" : "JSON::PP version 4.16"
}
url: http://module-build.sourceforge.net/META-spec-v1.4.html
version: '1.4'
name: Test-Simpler
no_index:
directory:
- t
- inc
requires:
Data::Dump: '0'
PPI: '0'
PadWalker: '0'
Test::Builder::Module: '0'
Test::More: '0'
version: '0.000008'
x_serialization_backend: 'CPAN::Meta::YAML version 0.018'
Makefile.PL view on Meta::CPAN
WriteMakefile(
NAME => 'Test::Simpler',
AUTHOR => 'Damian Conway <DCONWAY@CPAN.org>',
VERSION_FROM => 'lib/Test/Simpler.pm',
ABSTRACT_FROM => 'lib/Test/Simpler.pm',
PL_FILES => {},
LICENSE => 'perl',
PREREQ_PM => {
'Test::More' => 0,
'Test::Builder::Module' => 0,
'PadWalker' => 0,
'Data::Dump' => 0,
'PPI' => 0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'Test-Simpler-*' },
);
lib/Test/Simpler.pm view on Meta::CPAN
package Test::Simpler;
use warnings;
use strict;
use autodie;
use 5.014;
our $VERSION = '0.000008';
use PadWalker qw< peek_my peek_our >;
use Data::Dump qw< dump >;
use List::Util qw< max >;
use base 'Test::Builder::Module';
# Export the module's interface...
our @EXPORT = ( 'ok' );
our @EXPORT_OK = ();
our %EXPORT_TAGS = ();
lib/Test/Simpler.pm view on Meta::CPAN
=over
=item PPI
...to parse the arguments of C<ok()>
=item Test::Builder::Module
...to produce TAP reports and to emulate the Test::Simple interface.
=item PadWalker
...to track variable values
=item Data::Dump
...to print variable values
=back
(Which means it's only simpler on the outside ;-)
( run in 0.268 second using v1.01-cache-2.11-cpan-0d8aa00de5b )