Test2::...::Parent(3)
π¦ 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 π
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
- opensuse-leap 16.0: perl-Test-Simple 1.302214-bp160.1.2 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms