1Test::Stream::Plugin::IUPsCe(r3)Contributed Perl DocumenTteastti:o:nStream::Plugin::IPC(3)
2
3
4
6 Test::Stream::Plugin::IPC - Plugin to load and configure IPC support.
7
9 This distribution is deprecated in favor of Test2, Test2::Suite, and
10 Test2::Workflow.
11
12 See Test::Stream::Manual::ToTest2 for a conversion guide.
13
15 The Test::Stream IPC layer provided by Test::Stream::IPC is responsible
16 for sending events between threads and processes. This is necessary for
17 any test files that fork or use threads. This plugin provides an
18 interface to loading and using the IPC layer.
19
21 use Test::Stream qw/IPC/;
22
23 You may wish to enable polling, which will pull in results frequently,
24 by default results from other threads and processes all come it at once
25 at the end of testing.
26
27 use Test::Stream IPC => [qw/-poll/];
28
29 You can also import the "cull()" function that can be used to pull
30 results in on demand.
31
32 use Test::Stream IPC => [qw/-cull/];
33
34 cull();
35
36 You can also specify a list of drivers to try in order:
37
38 use Test::Stream IPC => [
39 'MyIPCDriver',
40 '+Fully::Qualified::Driver::Package',
41 'Files',
42 ];
43
45 The source code repository for Test::Stream can be found at
46 http://github.com/Test-More/Test-Stream/.
47
49 Chad Granum <exodist@cpan.org>
50
52 Chad Granum <exodist@cpan.org>
53
55 Copyright 2015 Chad Granum <exodist7@gmail.com>.
56
57 This program is free software; you can redistribute it and/or modify it
58 under the same terms as Perl itself.
59
60 See http://dev.perl.org/licenses/
61
62
63
64perl v5.28.0 2016-02-05 Test::Stream::Plugin::IPC(3)