Test2::...Control(3)
πΈ 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 be0. 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 thecallback($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 perlENDphase 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 π
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 fromperl v5.42.0, dated2025-07-28, and it's theTest2::...Control(3)manpage. Slay, stay iconic, and happy testing! πβ¨
π¦ 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