5 * Hooks provided by the SimpleTest module.
14 * Alter the list of tests.
17 * A two dimensional array, the first key is the test group, the second is the
18 * name of the test class, and the value is in associative array containing
19 * 'name', 'description', 'group', and 'requires' keys.
21 function hook_simpletest_alter(&$groups) {
22 // An alternative session handler module would not want to run the original
23 // Session HTTPS handling test because it checks the sessions table in the
25 unset($groups['Session']['testHttpsSession']);
29 * A test group has started.
31 * This hook is called just once at the beginning of a test group.
33 function hook_test_group_started() {
37 * A test group has finished.
39 * This hook is called just once at the end of a test group.
41 function hook_test_group_finished() {
45 * An individual test has finished.
47 * This hook is called when an individual test has finished.
50 * $results The results of the test as gathered by
51 * \Drupal\simpletest\WebTestBase.
53 * @see \Drupal\simpletest\WebTestBase::results()
55 function hook_test_finished($results) {
60 * @} End of "addtogroup hooks".