function TestDiscoveryTest::providerTestGetPhpunitTestSuite
Same name and namespace in other branches
- 11.x core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
- 10 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
- 9 core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
- 8.9.x core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php \Drupal\Tests\Core\Test\TestDiscoveryTest::providerTestGetPhpunitTestSuite()
File
-
core/
tests/ Drupal/ Tests/ Core/ Test/ TestDiscoveryTest.php, line 149
Class
- TestDiscoveryTest
- Unit tests for test discovery.
Namespace
Drupal\Tests\Core\TestCode
public static function providerTestGetPhpunitTestSuite() : \Generator {
yield 'simpletest-web test' => [
'\\Drupal\\rest\\Tests\\NodeTest',
FALSE,
];
yield 'module-unittest' => [
static::class,
'unit',
];
yield 'module-kernel test' => [
'\\Drupal\\KernelTests\\Core\\Theme\\TwigMarkupInterfaceTest',
'kernel',
];
yield 'module-functional test' => [
'\\Drupal\\FunctionalTests\\BrowserTestBaseTest',
'functional',
];
yield 'module-functional javascript test' => [
'\\Drupal\\Tests\\toolbar\\FunctionalJavascript\\ToolbarIntegrationTest',
'functional-javascript',
];
yield 'core-unittest' => [
'\\Drupal\\Tests\\ComposerIntegrationTest',
'unit',
];
yield 'core-unittest2' => [
'Drupal\\Tests\\Core\\DrupalTest',
'unit',
];
yield 'core-script-test' => [
'Drupal\\KernelTests\\Scripts\\TestSiteApplicationTest',
'kernel',
];
yield 'core-kernel test' => [
'\\Drupal\\KernelTests\\KernelTestBaseTest',
'kernel',
];
yield 'core-functional test' => [
'\\Drupal\\FunctionalTests\\ExampleTest',
'functional',
];
yield 'core-functional javascript test' => [
'\\Drupal\\FunctionalJavascriptTests\\ExampleTest',
'functional-javascript',
];
yield 'core-build test' => [
'\\Drupal\\BuildTests\\Framework\\Tests\\BuildTestTest',
'build',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.