Read-only release history for Test-SharedFork
Perl
Switch branches/tags
stable gitpan_version/0.29 gitpan_version/0.28 gitpan_version/0.27 gitpan_version/0.26 gitpan_version/0.25 gitpan_version/0.24 gitpan_version/0.23 gitpan_version/0.22 gitpan_version/0.21 gitpan_version/0.20 gitpan_version/0.19 gitpan_version/0.18 gitpan_version/0.17 gitpan_version/0.16 gitpan_version/0.15 gitpan_version/0.14 gitpan_version/0.13_01 gitpan_version/0.12 gitpan_version/0.11 gitpan_version/0.10 gitpan_version/0.09 gitpan_version/0.08 gitpan_version/0.07_01 gitpan_version/0.06 gitpan_version/0.05 gitpan_version/0.04 gitpan_version/0.03 gitpan_version/0.02 cpan_version/0.29 cpan_version/0.28 cpan_version/0.27 cpan_version/0.26 cpan_version/0.25 cpan_version/0.24 cpan_version/0.23 cpan_version/0.22 cpan_version/0.21 cpan_version/0.20 cpan_version/0.19 cpan_version/0.18 cpan_version/0.17 cpan_version/0.16 cpan_version/0.15 cpan_version/0.14 cpan_version/0.13_01 cpan_version/0.12 cpan_version/0.11 cpan_version/0.10 cpan_version/0.09 cpan_version/0.08 cpan_version/0.07_01 cpan_version/0.06 cpan_version/0.05 cpan_version/0.04 cpan_version/0.03 cpan_version/0.02 cpan_path/TOKUHIROM/Test-SharedFork-0.28.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.27.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.26.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.25.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.24.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.23.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.22.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.21.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.20.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.19.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.18.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.17.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.16.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.15.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.14.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.13_01.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.12.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.11.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.10.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.09.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.08.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.07_01.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.06.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.05.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.04.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.03.tar.gz cpan_path/TOKUHIROM/Test-SharedFork-0.02.tar.gz cpan_path/EXODIST/Test-SharedFork-0.29.tar.gz alpha TOKUHIROM EXODIST
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Test
t
xt
Changes
LICENSE
MANIFEST
META.json
META.yml
Makefile.PL
README.md
README.mkdn
cpanfile
minil.toml

README.md

NAME

Test::SharedFork - fork test

SYNOPSIS

use Test::More tests => 200;
use Test::SharedFork;

my $pid = fork();
if ($pid == 0) {
    # child
    ok 1, "child $_" for 1..100;
} elsif ($pid) {
    # parent
    ok 1, "parent $_" for 1..100;
    waitpid($pid, 0);
} else {
    die $!;
}

DESCRIPTION

Test::SharedFork is utility module for Test::Builder.

This module makes fork(2) safety in your test case.

This module merges test count with parent process & child process.

LIMITATIONS

This version of the Test::SharedFork does not support ithreads, because threads::shared conflicts with Storable.

AUTHOR

Tokuhiro Matsuno

yappo

THANKS TO

kazuhooku

konbuizm

SEE ALSO

Test::TCP, Test::Fork, Test::MultiFork

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.