Test2::Harness::Renderer::EventStream - EventStream renderer.
This is used to provide pretty/colorful output.
The output looks like this:
[LAUNCH] _ t/units/Yath.t [PARSER] + Test2::Harness::Parser::EventStream [ NOTE ] + Seeded srand with seed '20160524' from local date. [ENCODE] + utf8 [ OK ] + App::Yath->can(...) [PASSED] + expand_files [ OK ] + | found test files [ OK ] + | All files are in t/ [ OK ] + | Specifying nothing is the same as saying 't' [ OK ] + | A single file does not expand [ OK ] + | Excluded the specified file (t/use_harness.t) [ PLAN ] + | Plan is 5 assertions + ^ [PASSED] + args_and_init [ OK ] + | Got expected default structure [ OK ] + | Got expected structure [ OK ] + | Got expected default structure + switches [ OK ] + | Cannot combine preload and switches [ PLAN ] + | Plan is 4 assertions + ^ [PASSED] + run [ OK ] + | no failures [ OK ] + | Got the result in the renderer [ PLAN ] + | Plan is 2 assertions + ^ [ PLAN ] + Plan is 4 assertions [PASSED] = t/units/Yath.t === ALL TESTS SUCCEEDED ===
The first column is a brief tag for each event. The second column is job information, this is more useful when running multiple tests in parallel. The right hand side is the summary of each event as it is handled. Subtests are rendered as a tree.
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.