Change record status: 
Project: 
Introduced in branch: 
8.7.x
Introduced in version: 
8.7.0
Description: 

As part of the process of deprecating simpletest from Drupal 8, the hook_test_*() hooks are deprecated.

This deprecates these three hooks:

  • hook_test_group_started()
  • hook_test_group_finished()
  • hook_test_finished()

These hooks were used to allow test runners to respond to tests. These hooks were only fired from the Simpletest UI form test runner, and not run-tests.sh or the PHPUnit test runner.

If your test system need to be signaled when tests are running, convert your tests to use PHPUnit and implement a test listener.