Test2::...et::Plan(3)
π¦ NAME π¦
Test2::EventFacet::Plan β the facet for setting the plan. Manual-page bestie check: this is Test2::EventFacet::Plan(3) from User Contributed Perl Documentation, and the header styles it as Test2::...et::Plan(3). π
π DESCRIPTION π
okay so events use this facet when they need to set the plan. Thatβs literally the whole vibe: plan-setting facet, no cap. β¨
π FIELDS π
$string = $plan->{details}/$string = $plan->details()β Human-readable explanation for the plan being set. This is normally not rendered by most formatters except when the"skip"field is also set. π$positive_int = $plan->{count}/$positive_int = $plan->count()β Sets the number of expected assertions. This should usually be set to0when"skip"or"none"are also set.$bool = $plan->{skip}/$bool = $plan->skip()β When true, the entire test should be skipped. This is usually paired with an explanation in the"details"field, and a"control"facet that has"terminate"set to0. π«Ά$bool = $plan->{none}/$bool = $plan->none()β This is mainly used by legacyTest::Buildertests which set the plan to"no plan", a construct that predates the much betterdone_testing().
If you are using this in non-legacy code you may need to reconsider the course of your life, maybe a hermitage would suite you? π
π 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/>.
okay thatβs the whole page, bestie β footer says perl v5.42.0, dated 2025-07-28, and the manual name is Test2::EventFacet::Plan(3) (header-style: Test2::...et::Plan(3)). πβ¨
π¦ 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