simpletest.api.php in SimpleTest 7
Same filename and directory in other branches
Hooks provided by the SimpleTest module.
File
simpletest.api.phpView source
<?php
/**
* @file
* Hooks provided by the SimpleTest module.
*/
/**
* @addtogroup hooks
* @{
*/
/**
* A test group has started.
*
* This hook is called just once at the beginning of a test group.
*/
function hook_test_group_started() {
}
/**
* A test group has finished.
*
* This hook is called just once at the end of a test group.
*/
function hook_test_group_finished() {
}
/**
* An individual test has finished.
*
* This hook is called when an individual test has finished.
*
* @param
* $results The results of the test as gathered by DrupalWebTestCase.
*
* @see DrupalWebTestCase->results
*/
function hook_test_finished($results) {
}
/**
* @} End of "addtogroup hooks".
*/
Functions
Name![]() |
Description |
---|---|
hook_test_finished | An individual test has finished. |
hook_test_group_finished | A test group has finished. |
hook_test_group_started | A test group has started. |