Fennec::Collector3pm
Funnel results from child to parent
Overview
The collector is responsible for 2 jobs: 1) In the parent process it is responsible for gathering all test results from the child processes. 2) In the child processes it is responsible for sending results to the parent process.
Methods subclasses must override
- $bool = ok( $bool, $description )
-
Fennec sometimes needs to report the result of an internal check. These checks will pass a boolean true/false value and a description.
- diag( $msg )
-
Fennec uses this to report internal diagnostics messages
- end_pid
-
Called just before a child process exits.
- collect
-
Used by the parent process at an interval to get results from children and display them.
Methods subclasses may override
- new
-
Builds the object from params, then calls init.
- init
-
Called by new
- finish
-
Called at the very end of
"done_testing()"no tests should be reported after this.
Methods subclasses must be aware of
test_count
|
Holds the test count so far. |
|---|---|
test_failed
|
Holds the number of tests failed so far. |
inc_test_count
|
Used to add 1 to the number of tests. |
inc_test_failed
|
Used to add 1 to the number of failed tests. |
Releases
6 releases since Debian 8 (Jessie); the text changed 3 times.