NAME
Test2::Harness::Parser::EventStream - EventStream parser
DESCRIPTION
This is the parser counterpart to Test2::Formatter::EventStream. This will read a stream of output from the test which should include Test2::Event objects serialized into JSON format.
STREAM COMPOSITION
- STDERR
-
Anything sent to STDERR will be turned into a basic diagnostics Test2::Harness::Fact object.
- STDOUT
-
Anything sent to STDOUT without a prefix, or with an unknown prefix will be turned into a basic Test2::Harness::Fact object.
- T2_ENCODING: ...
-
A line of STDOUT with this prefix will be used to set the encoding.
- T2_EVENT: ...JSON...
-
A line of STDOUT with this prefix will be consumed as JSON and used to construct an Test2::Event::Fact object.
SOURCE
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.
MAINTAINERS
AUTHORS
COPYRIGHT
Copyright 2016 Chad Granum <exodist7@gmail.com>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://dev.perl.org/licenses/