TEST2::HUB::SUBTEST(3perl)
β¨ Test2::Hub::Subtest β¨
okay bestie, quick vibe check: this is the page for Test2::Hub::Subtest from the Perl Programmers Reference Guide β the whole hub situation that subtests use behind the scenes π
π NAME π
Test2::Hub::Subtest β the hub that subtests use, basically the event-routing main character π
π¦ DESCRIPTION π¦
Subtests literally make use of this hub to route events. That's the whole job. It's giving backstage-pass energy β¨
πΈ TOGGLES πΈ
$bool = $hub->manual_skip_all$hub->set_manual_skip_all($bool)
The default is false. No cap.
Normally a skip-all plan event will cause a subtest to stop executing. This is accomplished via "last LABEL" to a label inside the subtest code. Most of the time this is perfectly fine. There are times however where this flow control causes bad things to happen π
This toggle lets you turn off the abort logic for the hub. When this is toggled to true you are responsible for ensuring no additional events are generated. That's on you, bestie β highkey important π«Ά
π₯ SOURCE π₯
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go look, it's iconic π
π MAINTAINERS π
Chad Granum <exodist@cpan.org>
π AUTHORS π
Chad Granum <exodist@cpan.org>
π COPYRIGHT π
Copyright 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 <https://dev.perl.org/licenses/>
and that's the whole page, periodt π
this was rendered from perl v5.44.0 on 2026-10-17 β mwah, go slay some subtests ππ¦β¨
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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