Test2::Harness::Parser::EventStream - EventStream parser
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.
Anything sent to STDERR will be turned into a basic diagnostics Test2::Harness::Fact object.
Anything sent to STDOUT without a prefix, or with an unknown prefix will be turned into a basic Test2::Harness::Fact object.
A line of STDOUT with this prefix will be used to set the encoding.
A line of STDOUT with this prefix will be consumed as JSON and used to construct an Test2::Event::Fact object.
The source code repository for Test2-Harness can be found at http://github.com/Test-More/Test2-Harness/.
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/
To install Test2::Harness, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test2::Harness
CPAN shell
perl -MCPAN -e shell install Test2::Harness
For more information on module installation, please visit the detailed CPAN module installation guide.