Test::S...horTest(3)
π Test::Stream::Plugin::AuthorTest β the manual page bestie π
perl(1) user-contributed docs, the iconic kind β¨
πΈ NAME πΈ
Test::Stream::Plugin::AuthorTest β the little plugin that only runs a test when AUTHOR_TESTING is true. no cap. π«Ά
π DEPRECATED π
okay so. deep breaths. this distribution is deprecated in favor of Test2, Test2::Suite, and Test2::Workflow. it's giving legacy. it's giving "we still love you but move on".
if you need the conversion guide, go look at Test::Stream::Manual::ToTest2 β it literally walks you through it. π§
fr fr: don't start new stuff on this. it's deprecated. i'm just the messenger.
β¨ DESCRIPTION β¨
so the vibe is: everyone writes tests that only run when AUTHOR_TESTING (or some other environment variable of your choosing) is set. it's a whole thing. this module automates that work for you β and yes, the original docs call the work "admitedly trivial", so we're keeping that energy, typos and all. π
basically: variable not set β test doesn't run. variable set β test runs. slay. π
π SYNOPSIS π
the classic way:
use Test::Stream qw/... AuthorTest/;
...
done_testing;
or if you're feeling direct:
use Test::Stream::Plugin::AuthorTest;
you can also specify a variable name to use instead of AUTHOR_TESTING β yes, you get to pick your own:
use Test::Stream AuthorTest => ['THE_VAR'];
or, the other flavor:
use Test::Stream::Plugin::AuthorTest qw/THE_VAR/;
three ways to do the same adorable thing. pick your main character moment. π
π¦ MANUAL π¦
Test::Stream::Manual is the place to start when you go searching for documentation. start there, bestie. π
π SOURCE π
the source code repo for Test::Stream lives at:
http://github.com/Test-More/Test-Stream/
go look, it's right there. β
π 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, periodt. this was Test::S...horTest(3) β the abbreviated header the docs renderer gave us β from perl v5.42.0, dated 2025-07-25. mwah. ππΈβ¨
π¦ 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