1Test2::Formatter::StreaUms(e3r)Contributed Perl DocumentTaetsito2n::Formatter::Stream(3)
2
3
4

NAME

6       Test2::Formatter::Stream - Test2 Formatter that directly writes events.
7

DESCRIPTION

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

SYNOPSIS

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

SOURCE

31       The source code repository for Test2-Harness can be found at
32       http://github.com/Test-More/Test2-Harness/.
33

MAINTAINERS

35       Chad Granum <exodist@cpan.org>
36

AUTHORS

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.36.0                      2022-09-08       Test2::Formatter::Stream(3)
Impressum