Test2::...:Subtest(3)

πŸ“¦ version 1.302214, in opensuse-leap 16.0

okay so bestie, welcome to the Test2::...:Subtest(3) page β€” straight from the User Contributed Perl Documentation crew, and it’s about to make subtest events make sense. πŸ’…βœ¨

🌸 NAME 🌸

Test2::Event::Subtest β€” Event for subtest types. That’s the whole name, that’s the whole vibe. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

This class represents a subtest. It’s a subclass of Test2::Event::Ok, so yes, it’s giving β€œokay event but make it subtest” energy. πŸ’–

πŸŽ€ ACCESSORS πŸŽ€

This class inherits from Test2::Event::Ok. Here are the accessors listed for this class, bestie:

  • $arrayref = $e->subevents β€” gives you back the arrayref that holds all the events from the subtest. It’s the whole subtest event stash. πŸŽ€
  • $bool = $e->buffered β€” returns true if the subtest is buffered, meaning all subevents render at once. If this is false, it means all subevents render as they are produced. So buffered = one big reveal, not buffered = live reaction cam. 😭

🌈 SOURCE 🌈

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go browse, it’s iconic. πŸ”₯

πŸ‘‘ MAINTAINERS πŸ‘‘

Chad Granum β€” exodist@cpan.org. The maintainer, periodt. πŸ‘‘

🧚 AUTHORS 🧚

Chad Granum β€” exodist@cpan.org. Same icon, author edition. πŸ¦‹

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


okay that’s the page, bestie. It’s perl v5.42.0, dated 2025-07-28, and it’s literally the Test2::...:Subtest(3) page β€” mwah πŸ’‹πŸ’–

πŸ“¦ where this page comes from