1Test2::Formatter::StreaUms(e3r)Contributed Perl DocumentTaetsito2n::Formatter::Stream(3)
2
3
4
6 Test2::Formatter::Stream - Test2 Formatter that directly writes events.
7
9 This formatter writes all test2 events to event files (one per
10 process/thread) instead of writing them to STDERR/STDOUT. It will
11 output synchronization messages to STDERR/STDOUT every time an event is
12 written. From this data the test output can be properly reconstructed
13 in order with STDERR/STDOUT and events mostly synced so that they
14 appear in the correct order.
15
16 This formatter is not usually useful to humans. This formatter is used
17 by Test2::Harness when possible to prevent the loss of data that
18 normally occurs when TAP is used.
19
21 If you really want your test to output this:
22
23 use Test2::Formatter::Stream;
24 use Test2::V0;
25 ...
26
27 Otherwise just use App::Yath without the "--no-stream" argument and
28 this formatter will be used when possible.
29
31 The source code repository for Test2-Harness can be found at
32 http://github.com/Test-More/Test2-Harness/.
33
35 Chad Granum <exodist@cpan.org>
36
38 Chad Granum <exodist@cpan.org>
39
41 Copyright 2020 Chad Granum <exodist7@gmail.com>.
42
43 This program is free software; you can redistribute it and/or modify it
44 under the same terms as Perl itself.
45
46 See http://dev.perl.org/licenses/
47
48
49
50perl v5.34.0 2021-11-05 Test2::Formatter::Stream(3)