Test::UseAllModules

Test::UseAllModules is a Perl module that uses use_ok() function for all modules MANIFESTed.
Download

Test::UseAllModules Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Kenichi Ishigaki
  • Publisher web site:
  • http://search.cpan.org/~ishigaki/Test-UseAllModules-0.09/lib/Test/UseAllModules.pm

Test::UseAllModules Tags


Test::UseAllModules Description

Test::UseAllModules is a Perl module that uses use_ok() function for all modules MANIFESTed. Test::UseAllModules is a Perl module that uses use_ok() function for all modules MANIFESTed.SYNOPSIS # basic use use strict; use Test::UseAllModules; BEGIN { all_uses_ok(); } # if you have modules that'll fail use_ok() for themselves use strict; use Test::UseAllModules; BEGIN { all_uses_ok except => qw( Some::Dependent::Module Another::Dependent::Module ^Yet::Another::Dependent::.* # you can use regex ) }I'm sick of writing 00_load.t (or something like that) that'll do use_ok() for every module I write. I'm sicker of updating 00_load.t when I add another file to the distro. This module reads MANIFEST to find modules to be tested and does use_ok() for each of them. Now all you have to do is updating MANIFEST. You don't have to modify the test any more (hopefully). Requirements: · Perl


Test::UseAllModules Related Software