The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 Test2::Event::UnknownStderr object.

STDOUT

Anything sent to STDOUT without a prefix, or with an unknown prefix will be turned into a Test2::Event::UnknownStdout 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 object.

SOURCE

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

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

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/