DESCRIPTION
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.
AUTHORS
Chad Granum [email protected]COPYRIGHT
Copyright (C) 2013 Chad GranumFennec is free software; Standard perl license (GPL and Artistic).
Fennec is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the license for more details.