$drupal_test_info

  1. drupal
    1. 7 modules/simpletest/drupal_web_test_case.php
    2. 8 core/modules/simpletest/simpletest.api.php

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

modules/simpletest/drupal_web_test_case.php, line 13

Code

global $drupal_test_info
Login or register to post comments