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 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