test_discovery

Class

Drupal\simpletest\TestDiscovery
5 string references to test_discovery
SimpletestDeprecationTest::testDeprecatedServices in core/modules/simpletest/tests/src/Kernel/SimpletestDeprecationTest.php
@expectedDeprecation Drupal\simpletest\TestDiscovery is deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Test\TestDiscovery instead. See https://www.drupal.org/node/2949692 @expectedDeprecation The…
SimpletestTestForm::buildForm in core/modules/simpletest/src/Form/SimpletestTestForm.php
Form constructor.
SimpletestTestForm::create in core/modules/simpletest/src/Form/SimpletestTestForm.php
Instantiates a new instance of this class.
TestDeprecatedTestHooks::testHookTestFinished in core/modules/simpletest/tests/src/Kernel/TestDeprecatedTestHooks.php
@expectedDeprecation The deprecated hook hook_test_finished() is implemented in these functions: simpletest_deprecation_test_test_finished(). Convert your test to a PHPUnit-based one and implement test listeners. See https://www.drupal.org/node/2934242
TestDiscoveryDeprecationTest::testHookSimpletestAlter in core/modules/simpletest/tests/src/Kernel/TestDiscoveryDeprecationTest.php
@expectedDeprecation The deprecated alter hook hook_simpletest_alter() is implemented in these functions: simpletest_deprecation_test_simpletest_alter. Convert your test to a PHPUnit-based one and implement test listeners. See:…

File

core/modules/simpletest/simpletest.services.yml

View source
  1. class: Drupal\simpletest\TestDiscovery
  2. arguments:
  3. - '@app.root'
  4. - '@class_loader'
  5. - '@module_handler'

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.