Test::S...Subtest(3)
π Test::Stream::Event::Subtest π
okay bestie, welcome to the Test::Stream::Event::Subtest page β it's part of the User Contributed Perl Documentation and honestly it's a short one, so grab a boba and let's go π§β¨
πΈ NAME πΈ
Test::Stream::Event::Subtest β it's the event for subtest types, periodt π
π DEPRECATED π
ok so major heads up bestie, this whole distribution is deprecated π it's been retired in favor of Test2, Test2::Suite, and Test2::Workflow.
and if you're sitting there like "okay but how do I move my stuff over" β there's literally a whole conversion guide waiting for you: Test::Stream::Manual::ToTest2. go read it, iykyk π¦
not me still shipping code against a deprecated dist... anyway. migrate, bestie. π
β¨ DESCRIPTION β¨
So this class? It represents a subtest π that's its whole thing.
And the family tree: this class is a subclass of Test::Stream::Event::Ok. so everything Ok can do, this one inherits. iconic lineage fr fr π
π₯ ACCESSORS π₯
Quick note before we dive in: this class inherits from Test::Stream::Event::Ok, so all of that class's accessors are also yours to use π
Here's what's special about this one:
$arrayref = $e->subeventsβ gives you back the arrayref holding all the events from the subtest. every single one, all cozied up in one list π$bool = $e->bufferedβ returns true if the subtest is buffered, which means all the subevents render all at once. and if it's false? then it means all the subevents render as they are produced β one at a time, live, as they happen β¨
π SOURCE π
the source code repo for Test::Stream lives right here:
http://github.com/Test-More/Test-Stream/
go peek, go star it, go read the code bestie πβ
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
π«Ά AUTHORS π«Ά
- Chad Granum
<exodist@cpan.org>
(yes bestie, same person, same icon energy π )
π 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, we ate that up ππ§
signing off with perl v5.42.0 dated 2025-07-25 β stay slaying, and may all your subtests be buffered exactly the way you want them πβ¨
π¦ 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