Test2::...::Parent(3)

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

πŸ¦‹ Test2::EventFacet::Parent β€” the facet for when one event is literally mothering a whole squad of other events

Okay bestie, so this is a Perl manpage from the Test2 fam β€” it's Test2::EventFacet::Parent in the User Contributed Perl Documentation section, and it's the whole vibe guide for the facet that shows up when an event has other events tucked inside it. Think main character event with an entourage. πŸ’…


✨ NAME ✨

Test2::EventFacet::Parent β€” the facet for events that contain other events 🫢


πŸ’– DESCRIPTION πŸ’–

So this facet is what you reach for when an event is holding other events inside it β€” like a subtest does. Not me describing a subtest as "an event with children" and being completely right. Iconic behavior honestly. 🌸


πŸŽ€ FIELDS πŸŽ€

$string = $parent->{details} / $string = $parent->details()

A human readable description of the event. Literally just words for humans. You know, the readable kind. ✨

$hid = $parent->{hid} / $hid = $parent->hid()

The Hub ID of the hub that's represented in the parent-child relationship. It's giving "which hub is the parent here" energy. πŸ”₯

$arrayref = $parent->{children} / $arrayref = $parent->children()

An arrayref stuffed with the facet-data hashes of the events nested under this one. Cute little hash babies. πŸ“

⚠️ Important though β€” to get the actual events you gotta get them from the parent event directly. The arrayref is not gonna hand you the real events, bestie, don't be fooled. πŸ’€

$bool = $parent->{buffered} / $bool = $parent->buffered()

True if the subtest is buffered β€” which means the formatter has probably not seen them yet. Lowkey they're in the queue, waiting their turn. πŸ™ˆ


🌈 SOURCE 🌈

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go look, it's right there. ⭐


πŸ‘‘ 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 thing, bestie β€” this page is from perl v5.42.0, dated 2025-07-28, and it's Test2::...::Parent(3) in the User Contributed Perl Documentation. Slay, go read some facets. πŸ§šβ€β™€οΈπŸ’…πŸŽ€

πŸ“¦ where this page comes from