Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.6 / 3....
  • Linux Kernel 3.0.82 LTS...
  • KDE Software Compilatio...
  • PulseAudio 4.0
  • Wireshark 1.10.0
  • NetworkManager 0.9.8.2
  • LibreOffice 3.6.6 / 4.0...
  • SystemRescueCd 3.7.0
  • Linux Kernel 3.10 RC6
  • Ubuntu Tweak 0.8.5
  • Home > Linux > Programming > Perl Modules

    Test::ParallelSubtest 0.04

    Download button

    No screenshots available
    Downloads: 185  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Nick Cleaton | More programs
    Perl Artistic License / FREE
    July 31st, 2010, 02:16 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Test::ParallelSubtest description

    Fork subtests to run in parallel

    Test::ParallelSubtest is a Perl module that allows a test script to run subtests (see "subtest" in Test::More) in the background, using a forked sub-processes for each subtest. Several background subtests can be run in parallel, saving time. Particularly handy if you have lots of tests that sleep for a second or two.

    Background subtest output is buffered and merged, so that output from different child processes doesn't get mixed up. A test script using bg_subtest() should produce exactly the same results as it would if the bg_subtest() calls were replaced with subtest() calls, subject to a few "LIMITATIONS".

    SYNOPSIS

     use Test::More tests => 2;
     use Test::ParallelSubtest max_parallel => 8;

     bg_subtest test_one => sub {
     # tests here run in a sub-process
     };

     bg_subtest test_two => sub {
     # tests here run in another sub-process
     };



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    fork subtests | parallel subtests | Perl module | parallel | subtests | fork

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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