TEST2::EVENT::SUBTEST(3pm)

πŸ’– Test2::Event::Subtest πŸ’–

okay bestie, welcome to the Test2::Event::Subtest(3pm) page β€” this is the manual for the event class for subtest types, and it's lowkey iconic πŸ’…


🌸 NAME 🌸

Test2::Event::Subtest - Event for subtest types ✨


πŸ’… DESCRIPTION πŸ’…

This class represents a subtest. It's a subclass of Test2::Event::Ok β€” so yeah, it's giving "okay but make it subtest" energy 🫢


✨ ACCESSORS ✨

This class inherits from Test2::Event::Ok. And then it has these two accessors, periodt:

  • $arrayref = $e->subevents β€” returns the arrayref containing all the events from the subtest πŸ’–
  • $bool = $e->buffered β€” true if the subtest is buffered, that is all subevents render at once. If this is false it means all subevents render as they are produced. no cap, that's the whole vibe check πŸ¦‹

πŸ”₯ SOURCE πŸ”₯

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/> πŸ‘‘


πŸ‘‘ 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/> ✨


okay that's the whole page, mwah πŸ’‹ β€” signing off from perl v5.42.3, dated 2026-11-03 πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from