Change record status: 
Project: 
Introduced in branch: 
8.8.x
Introduced in version: 
8.8.0
Description: 

In order to facilitate turning simpletest module into a contrib module, we must move and deprecate some functions.

  • simpletest_insert_assert()
  • simpletest_last_test_get()
  • simpletest_log_read()
  • simpletest_schema()

These functions will become methods of the Drupal\Core\Test\TestDatabase class.

simpletest_schema() is not deprecated, since it is an implementation of hook_schema(), which is not deprecated. However, the schema structure must be available to core's testing infrastructure, even if the simpletest module is not available.