1Test2::IPC::Driver::FilUesse(r3)Contributed Perl DocumenTteastti2o:n:IPC::Driver::Files(3)
2
3
4
6 Test2::IPC::Driver::Files - Temp dir + Files concurrency model.
7
9 This is the default, and fallback concurrency model for Test2. This
10 sends events between processes and threads using serialized files in a
11 temporary directory. This is not particularly fast, but it works
12 everywhere.
13
15 use Test2::IPC::Driver::Files;
16
17 # IPC is now enabled
18
20 T2_KEEP_TEMPDIR=0
21 When true, the tempdir used by the IPC driver will not be deleted
22 when the test is done.
23
24 T2_TEMPDIR_TEMPLATE='test2-XXXXXX'
25 This can be used to set the template for the IPC temp dir. The
26 template should follow template specifications from File::Temp.
27
29 See Test2::IPC::Driver for methods.
30
32 The source code repository for Test2 can be found at
33 http://github.com/Test-More/test-more/.
34
36 Chad Granum <exodist@cpan.org>
37
39 Chad Granum <exodist@cpan.org>
40
42 Copyright 2020 Chad Granum <exodist@cpan.org>.
43
44 This program is free software; you can redistribute it and/or modify it
45 under the same terms as Perl itself.
46
47 See http://dev.perl.org/licenses/
48
49
50
51perl v5.38.0 2023-07-21 Test2::IPC::Driver::Files(3)