global $drupal_test_info

Global variable that holds information about the tests being run.

An array, with the following keys:

  • 'test_run_id': the ID of the test being run, in the form 'simpletest_%"
  • 'in_child_site': TRUE if the current request is a cURL request from the parent site.

File

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

Code

global $drupal_test_info;