Re: preforking prove

[email protected] (Karen Etheridge)
Newsgroups perl.qa
Message-ID <[email protected]>
On Tue, Nov 06, 2012 at 09:59:48AM -0800, Jonathan Swartz wrote:
> For each test run, instead of loading a .t file, you're making a request against the Starman server. So you can obviously hit it with multiple simultaneous requests.

For something so simple, you could also use Parallel::ForkManager, with
each child passing back a serialized Test::Builder object which contained
the results of all the tests that were run.  The trickiest problem is
consolidating all the test results back together and then emitting the
proper TAP output.


Karen Etheridge
[email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.