CC: | Stas Bekman <stas [...] stason.org> |
Subject: | [PATCH] Forking tests |
Hi,
the issues with Test::More on forking tests are known for quite a while
and they've become annoying enough to finally warrant a patch which
you'll find attached. A major problem is the testcase t/forked.t that I
included. Apparently Test::Builder::Tester cannot really be used for a
forking environment so I had to work around it in ugly ways.
You're invited to have a closer look at the patch before applying. I
didn't for instance bother with Test::Builder::current_test(). What I
wanted to make work are forking test-scripts using Test::More and
therefore I made no provisions going beyond that:
use Test::More forked => 'path/to/storable_image';
is all there is about this patch.
Also, Storable, Cwd and File::Spec should be added to the list of
prerequisite modules in Makefile.PL.
Cheers,
Tassilo
Subject: | testmore |
Message body not shown because it is not plain text.