Test::ParallelSubtest

Fork subtests to run in parallel
Download

Test::ParallelSubtest Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Publisher Name:
  • Nick Cleaton
  • Publisher web site:
  • http://search.cpan.org/~ncleaton/

Test::ParallelSubtest Tags


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 }; Requirements: · Perl


Test::ParallelSubtest Related Software