Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Libraries

    Test::UseAllModules 0.09

    Download button

    No screenshots available
    Downloads: 277  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Good (3.5/5)
    4 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Kenichi Ishigaki | More programs
    Perl Artistic License / FREE
    November 28th, 2007, 15:09 GMT
    ROOT / Programming / Libraries

     Read user reviews (0)  Refer to a friend  Subscribe

    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).

    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    use_ok() function | module testing | Perl module | Test::UseAllModules | Perl | module

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM