Module::Install::StandardTests - generate standard tests for installation
use inc::Module::Install; name 'Class-Null'; all_from 'lib/Class/Null.pm'; use_test_base; use_standard_tests; auto_include; WriteAll;
Writes a few standard test files to the test directory
use_standard_tests; use_standard_tests(without => 'pod_coverage'); use_standard_tests(without => [ qw/pod_coverage perl_critic/ ]);
Adds a few requirements to the build process, then simply calls the
write_standard_test_* methods one after the other.
If you pass a named argument called
without, the the tests corresponding to the value (as a string) or values (as an array reference) are omitted. Possible values are:
If there is a
t/perlcriticrc file, it is used as the Perl::Critic configuration.
Writes the code into the specified file inside the
t/ directory. The shebang line, together with
use warnings; and
use strict; are prepended to the code.
No bugs have been reported.
Please report any bugs or feature requests to
firstname.lastname@example.org, or through the web interface at http://rt.cpan.org.
See perlmodinstall for information and options on installing Perl modules.
The latest version of this module is available from the Comprehensive Perl Archive Network (CPAN). Visit <http://www.perl.com/CPAN/> to find a CPAN site near you. Or see <http://www.perl.com/CPAN/authors/id/M/MA/MARCEL/>.
Copyright 2007 by Marcel Grünauer
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.