Test2::...et::Plan(3)

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

πŸ¦‹ 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 to 0 when "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 to 0. 🫢
  • $bool = $plan->{none} / $bool = $plan->none() β€” This is mainly used by legacy Test::Builder tests which set the plan to "no plan", a construct that predates the much better done_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 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