Test2::Plugin::IOEvents - Turn STDOUT and STDERR into Test2 events.
This plugin turns prints to STDOUT and STDERR (including warnings) into proper Test2 events.
use Test2::Plugin::IOEvents;
This is also useful at the command line for 1-time use:
$ perl -MTest2::Plugin::IOEvents path/to/test.t
The magic of this module is achieved via tied variables.
The source code repository for Test2-Plugin-IOEvents can be found at https://github.com/Test-More/Test2-Plugin-IOEvents/.
Copyright 2020 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/
To install Test2::Plugin::IOEvents, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test2::Plugin::IOEvents
CPAN shell
perl -MCPAN -e shell install Test2::Plugin::IOEvents
For more information on module installation, please visit the detailed CPAN module installation guide.