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

NAME

Test2::Plugin::IOEvents - Turn output written to STDOUT and STDERR into Events.

DESCRIPTION

This plugin will turn all output sent to STDOUT and STDERR (including warnings) into Test2::Event::Output events.

COMBINING WITH MUXER

If you decide to use this plugin along with Test2::Plugin::IOMuxer you should load IOMuxer first, and then IOEvents.

Or you could simply use Test2::Plugin::IOSync instead of loading both modules yourself.

SYNOPSIS

    use Test2::Plugin::IOEvents;

    print "This will be an event.\n";
    print STDERR "This will also be an event\n";
    warn "This will be an event, unless it is intercepted by a SIGWARN handler.\n";

SOURCE

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

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright 2017 Chad Granum <exodist@cpan.org>.

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/