Test::S...:Plugin(3)
π Test::Stream::Plugin β bestie edition π
okay so you're here for Test::Stream::Plugin(3), the lil' helper that makes writing plugins not a whole ordeal. welcome, sit down, hydrate, let's go β¨
πΈ NAME πΈ
Test::Stream::Plugin β the simple helper for writing plugins, fr fr. it's giving "I do one thing and I do it well" π
π¨ DEPRECATED π¨
bestie. I need you to hear me. This distribution is deprecated in favor of Test2, Test2::Suite, and Test2::Workflow. it's not a vibe check failure, it's just... time. π
If you're migrating (and you should be, no cap), go read Test::Stream::Manual::ToTest2 β it's the conversion guide, it's literally right there, it's got you π«Ά
β¨ DESCRIPTION β¨
So what does this module even do? It hands you an import method that wraps around a typical Test::Stream::Plugin so you can just... use it directly. That's the whole thing. Iconic behavior honestly π
Note: this plugin is not necessary if your plugin usesTest::Stream::Exporterand does not have a customimportmethod. if that's you, you can simply close this tab and live your life π
π¦ SYNOPSIS π¦
Here's the whole vibe in code, verbatim, don't @ me:
package Test::Stream::Plugin::MyPlugin;
use strict;
use warnings;
# Provides an 'import' method for us that delegates to load_ts_plugin()
use Test::Stream::Plugin qw/import/;
sub load_ts_plugin {
my $class = shift;
my ($caller, @args) = @_;
...
}
1;
see how the use Test::Stream::Plugin qw/import/; line just drops an import in your lap that delegates to load_ts_plugin()? chef's kiss π€ that's the entire point, that's the main character moment.
π MANUAL π
When you're searching for documentation and you don't know where to start β start with Test::Stream::Manual. it's a good place to start. it's the good place to start. go there π
π₯ SOURCE π₯
The source code repository for Test::Stream lives at:
http://github.com/Test-More/Test-Stream/
go star it, go read it, go lurk responsibly π
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π AUTHORS π
- Chad Granum
<exodist@cpan.org>
π COPYRIGHT π
Copyright 2015 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/
and that's the whole page, bestie!! πΈπ¦π
perl v5.42.0 Β· 2025-07-25 β that's the version and date, shoutout to whoever generated this page on that day, you ate π mwah, go write a plugin, you got this πβ¨
π¦ where this page comes from
- fedora 43: perl-Test-Stream 1.302027-35.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms