Test2::...Control(3)

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

🌸 NAME 🌸

Test2::EventFacet::Control β€” facet for hub actions and behaviors. This is the Test2::...Control(3) page, bestie, and it's literally the control facet's whole vibe πŸ’…βœ¨

✨ DESCRIPTION ✨

Okay so this facet is used when the event needs to give instructions to the Test2 internals. It's giving director's notes for the test runner, no cap 🫢🎬

πŸ¦‹ FIELDS πŸ¦‹

  • $string = $control->{details} or $string = $control->details() β€” Human readable explanation for the special behavior. The "bestie, here's why" note, iykyk πŸ“πŸ’–
  • $bool = $control->{global} or $bool = $control->global() β€” True if the event is global in nature and should be seen by all hubs. All the hubs, periodt πŸŒπŸ‘‘
  • $exit = $control->{terminate} or $exit = $control->terminate() β€” Defined if the test should immediately exit; the value is the exit code and may be 0. Immediate exit energy πŸšͺπŸ’€
  • $bool = $control->{halt} or $bool = $control->halt() β€” True if all testing should be halted immediately. Full stop, no more tests πŸ›‘πŸ˜­
  • $bool = $control->{has_callback} or $bool = $control->has_callback() β€” True if the callback($hub) method on the event should be called. Ring ring, callback time πŸ“žπŸ«Ά
  • $encoding = $control->{encoding} or $encoding = $control->encoding() β€” This can be used to change the encoding from this event onward. Encoding glow-up starts here πŸ”€βœ¨
  • $phase = $control->{phase} or $phase = $control->phase() β€” Used to signal that a phase change has occurred. Currently only the perl END phase is signaled. Phase shift moment πŸŒ€

πŸ”₯ SOURCE πŸ”₯

The source code repository for Test2 can be found at https://github.com/Test-More/test-more/. Go look, bestie, it's giving open source main character energy πŸ‘‘πŸ’»

πŸ’œ 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 vibe, bestie! This page is from perl v5.42.0, dated 2025-07-28, and it's the Test2::...Control(3) manpage. Slay, stay iconic, and happy testing! πŸ’–βœ¨
πŸ“¦ where this page comes from