Commit 7471e595 authored by webchick's avatar webchick
Browse files

Issue #3086373 by heddn, Mile23, Mixologic: Build test framework cleanup: bootstrap and tests

parent 11089096
......@@ -529,6 +529,7 @@ public function providerTestGetPhpunitTestSuite() {
$data['core-kerneltest'] = ['\Drupal\KernelTests\KernelTestBaseTest', 'Kernel'];
$data['core-functionaltest'] = ['\Drupal\FunctionalTests\ExampleTest', 'Functional'];
$data['core-functionaljavascripttest'] = ['\Drupal\FunctionalJavascriptTests\ExampleTest', 'FunctionalJavascript'];
$data['core-buildtest'] = ['\Drupal\BuildTests\Framework\Tests\BuildTestTest', 'Build'];
return $data;
}
......
......@@ -88,7 +88,7 @@ function drupal_phpunit_contrib_extension_directory_roots($root = NULL) {
* An associative array of extension directories, keyed by their namespace.
*/
function drupal_phpunit_get_extension_namespaces($dirs) {
$suite_names = ['Unit', 'Kernel', 'Functional', 'FunctionalJavascript'];
$suite_names = ['Unit', 'Kernel', 'Functional', 'Build', 'FunctionalJavascript'];
$namespaces = [];
foreach ($dirs as $extension => $dir) {
if (is_dir($dir . '/src')) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment