1Fennec::Collector(3pm)User Contributed Perl DocumentationFennec::Collector(3pm)
2
3
4
6 Fennec::Collector - Funnel results from child to parent
7
9 The collector is responsible for 2 jobs: 1) In the parent process it is
10 responsible for gathering all test results from the child processes.
11 2) In the child processes it is responsible for sending results to the
12 parent process.
13
15 $bool = ok( $bool, $description )
16 Fennec sometimes needs to report the result of an internal check.
17 These checks will pass a boolean true/false value and a
18 description.
19
20 diag( $msg )
21 Fennec uses this to report internal diagnostics messages
22
23 end_pid
24 Called just before a child process exits.
25
26 collect
27 Used by the parent process at an interval to get results from
28 children and display them.
29
31 new Builds the object from params, then calls init.
32
33 init
34 Called by new
35
36 finish
37 Called at the very end of done_testing() no tests should be
38 reported after this.
39
41 test_count
42 Holds the test count so far.
43
44 test_failed
45 Holds the number of tests failed so far.
46
47 inc_test_count
48 Used to add 1 to the number of tests.
49
50 inc_test_failed
51 Used to add 1 to the number of failed tests.
52
54 Chad Granum exodist7@gmail.com
55
57 Copyright (C) 2013 Chad Granum
58
59 Fennec is free software; Standard perl license (GPL and Artistic).
60
61 Fennec is distributed in the hope that it will be useful, but WITHOUT
62 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
63 FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.
64
65
66
67perl v5.38.0 2023-07-20 Fennec::Collector(3pm)