Test2::...::Render(3)
πΈ NAME πΈ
User Contributed Perl Documentation for Test2::...::Render(3) β and the actual star is Test2::EventFacet::Render: the facet that dictates how to render an event. π
β¨
π DESCRIPTION π
Okay so this facet is the one that tells the standard test2 rendering tools how an event should be rendered. If this facet is present, then ONLY what is specified by it will be rendered. The vibe is: itβs assumed that anything important or note-worthy will be present here, and no other facets will be considered for rendering/display. π
Itβs a list type, bestie β you can add as many items as needed. π«Ά
Heads-up for the group chat: this is the βmain characterβ facet for rendering. When it shows up, the other facets donβt get a turn for rendering/display. π
π¦ FIELDS π¦
detailsβ the human-readable text for display:
$string = $render->[#]->{details}
$string = $render->[#]->details()
This is the human readable text for display. π
tagβ the tag that should prefix/identify the main text:
$string = $render->[#]->{tag}
$string = $render->[#]->tag()
Tag that should prefix/identify the main text. β¨
facetβ optional, bestie:
$string = $render->[#]->{facet}
$string = $render->[#]->facet()
If the display text was generated from another facet, this should state what facet it was. π¦
modeβ the mode, obviously:
$mode = $render->[#]->{mode}
$mode = $render->[#]->mode()
calculatedβ Calculated means the facet was generated from another facet. Calculated facets may be cleared and regenerated whenever the event state changes. πreplaceβ Replace means the facet is intended to replace the normal rendering of the event. π₯
π₯ 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 π
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/>. π
Thatβs the whole page, bestie π β perl v5.42.0, dated 2025-07-28, and titled Test2::...::Render(3). Now go render something iconic. π
β¨
π¦ 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