Test::Distribution

Test::Distribution is a Perl module which can perform tests on all modules of a distribution.
Download

Test::Distribution Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Marcel Grnauer
  • Publisher web site:
  • http://search.cpan.org/~marcel/Module-Install-Template-0.05/lib/Module/Install/Template.pm

Test::Distribution Tags


Test::Distribution Description

Test::Distribution is a Perl module which can perform tests on all modules of a distribution. Test::Distribution is a Perl module which can perform tests on all modules of a distribution.SYNOPSIS $ cat t/01distribution.t use Test::More; BEGIN { eval { require Test::Distribution; }; if($@) { plan skip_all => 'Test::Distribution not installed'; } else { import Test::Distribution; } } $ make test ...When using this module in a test script, it goes through all the modules in your distribution, checks their POD, checks that they compile ok and checks that they all define a $VERSION.This module also performs a numer of test on the distribution itself. It checks that your files match your SIGNATURE file if you have one. It checks that your distribution isn't missing certain 'core' description files. It checks to see you havent' missed out listing any pre-requisites in Makefile.PL.It defines its own testing plan, so you usually don't use it in conjunction with other Test::* modules in the same file. It's recommended that you just create a one-line test script as shown in the SYNOPSIS above. However, there are options...NOTE If you do not specify any options Test::Distribution will run all test types except signature testing which must always be explicitly switched on.In the future I may change the default to run no tests at all as this sounds safer. Mail me if you disagree. Requirements: · Perl


Test::Distribution Related Software