1Test2::Hub::Subtest(3)User Contributed Perl DocumentationTest2::Hub::Subtest(3)
2
3
4
6 Test2::Hub::Subtest - Hub used by subtests
7
9 Subtests make use of this hub to route events.
10
12 $bool = $hub->manual_skip_all
13 $hub->set_manual_skip_all($bool)
14 The default is false.
15
16 Normally a skip-all plan event will cause a subtest to stop
17 executing. This is accomplished via "last LABEL" to a label inside
18 the subtest code. Most of the time this is perfectly fine. There
19 are times however where this flow control causes bad things to
20 happen.
21
22 This toggle lets you turn off the abort logic for the hub. When
23 this is toggled to true you are responsible for ensuring no
24 additional events are generated.
25
27 The source code repository for Test2 can be found at
28 http://github.com/Test-More/test-more/.
29
31 Chad Granum <exodist@cpan.org>
32
34 Chad Granum <exodist@cpan.org>
35
37 Copyright 2020 Chad Granum <exodist@cpan.org>.
38
39 This program is free software; you can redistribute it and/or modify it
40 under the same terms as Perl itself.
41
42 See http://dev.perl.org/licenses/
43
44
45
46perl v5.36.0 2022-07-22 Test2::Hub::Subtest(3)