1 simpletest.api.php hook_simpletest_alter(&$groups)

Alter the list of tests.

Parameters

$groups: A two dimension array, the first key is the test group (as defined in the .test.info file) the second is the name of the class and the value is the content of each class's info.

Related topics

File

core/modules/simpletest/simpletest.api.php, line 21
Hooks provided by the SimpleTest module.

Code

function hook_simpletest_alter(&$groups) {
  // An alternative session handler module would not want to run the original
  // Session HTTPS handling test because it checks the sessions table in the
  // database.
  unset($groups['Session']['testHttpsSession']);
}