Test2:...OEvents(3pm)
β¨ NAME β¨
Test2::Plugin::IOEvents β bestie, this one turns STDOUT and STDERR into Test2 events π
(It's a Perl module, it lives in the 3pm section of the manual, iykyk π)
πΈ DESCRIPTION πΈ
Okay so listen. This plugin does one absolutely iconic thing: it takes everything printed to STDOUT and STDERR β including warnings β and converts it into proper Test2 events. Like, actual legit events. Not just raw text screaming into the void. β¨
No cap, your stray print statements become full members of the test suite. Main character energy for every warning. π
π¦ SYNOPSIS π¦
Drop this in and you're done:
use Test2::Plugin::IOEvents;
And it's also lowkey perfect at the command line for a one-time, no-strings-attached kinda situation:
$ perl -MTest2::Plugin::IOEvents path/to/test.t
Just slap -M on there and go. π«Ά
π CAVEATS π
Heads up bestie: the magic of this module is achieved via tied variables. That's the whole trick. That's how the slay happens. β¨
π₯ SOURCE π₯
The source code repository for Test2-Plugin-IOEvents can be found at:
https://github.com/Test-More/Test2-Plugin-IOEvents/
Go look at it, it's giving open source excellence π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
π COPYRIGHT π
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/
That's the whole page, bestie. Every single detail, zero skips, periodt. π
This masterpiece was served to you by perl v5.40.0, dated 2024-09-25, under the manual page name Test2:...OEvents(3pm). Mwah. π
π¦ where this page comes from
- ubuntu resolute: libtest2-plugin-ioevents-perl 0.001001-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libtest2-plugin-ioevents-perl 0.001001-2 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms