You are here

function hook_test_group_started in Drupal 8

Same name and namespace in other branches
  1. 7 modules/simpletest/simpletest.api.php \hook_test_group_started()

A test group has started.

This hook is called just once at the beginning of a test group.

This hook is only invoked by the Simpletest UI form runner. It will not be invoked by run-tests.sh or the phpunit tool.

Deprecated

in drupal:8.8.0 and is removed from drupal:9.0.0. Convert your test to a PHPUnit-based one and implement test listeners.

See also

https://www.drupal.org/node/2934242

Related topics

1 function implements hook_test_group_started()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

simpletest_deprecation_test_test_group_started in core/modules/simpletest/tests/modules/simpletest_deprecation_test/simpletest_deprecation_test.module
Implements hook_test_group_started().

File

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

Code

function hook_test_group_started() {
}