logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

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

Authors

       Chad Granum <exodist@cpan.org>

Description

       This formatter writes all test2 events to event files (one per process/thread) instead of writing them to
       STDERR/STDOUT. It will output synchronization messages to STDERR/STDOUT every time an event is written.
       From this data the test output can be properly reconstructed in order with STDERR/STDOUT and events
       mostly synced so that they appear in the correct order.

       This formatter is not usually useful to humans. This formatter is used by Test2::Harness when possible to
       prevent the loss of data that normally occurs when TAP is used.

Maintainers

       Chad Granum <exodist@cpan.org>

Name

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

Source

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

Synopsis

       If you really want your test to output this:

           use Test2::Formatter::Stream;
           use Test2::V0;
           ...

       Otherwise just use App::Yath without the "--no-stream" argument and this formatter will be used when
       possible.

See Also