Skip to content
Snippets Groups Projects
Verified Commit 3956262a authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3449743 by catch: Try to optimize test ordering when run-tests.sh is...

Issue #3449743 by catch: Try to optimize test ordering when run-tests.sh is used with a mixture of test types

(cherry picked from commit 17ec849e)
parent a1c80624
No related branches found
No related tags found
2 merge requests!8376Drupal views: adding more granularity to the ‘use ajax’ functionality,!8300Issue #3443586 View area displays even when parent view has no results.
Pipeline #189604 passed with warnings
Pipeline: drupal

#189640

    Pipeline: drupal

    #189637

      Pipeline: drupal

      #189635

        +7
        ......@@ -81,12 +81,15 @@ public function registerTestNamespaces() {
        $existing = $this->classLoader->getPrefixesPsr4();
        // Add PHPUnit test namespaces of Drupal core.
        $this->testNamespaces['Drupal\\Tests\\'] = [$this->root . '/core/tests/Drupal/Tests'];
        // Add PHPUnit test namespaces of Drupal core. Order the namespaces by the
        // test types that tend to be slowest first, to optimize overall test times
        // when multiple different test types are run concurrently by the same test
        // runner.
        $this->testNamespaces['Drupal\\FunctionalJavascriptTests\\'] = [$this->root . '/core/tests/Drupal/FunctionalJavascriptTests'];
        $this->testNamespaces['Drupal\\FunctionalTests\\'] = [$this->root . '/core/tests/Drupal/FunctionalTests'];
        $this->testNamespaces['Drupal\\BuildTests\\'] = [$this->root . '/core/tests/Drupal/BuildTests'];
        $this->testNamespaces['Drupal\\Tests\\'] = [$this->root . '/core/tests/Drupal/Tests'];
        $this->testNamespaces['Drupal\\KernelTests\\'] = [$this->root . '/core/tests/Drupal/KernelTests'];
        $this->testNamespaces['Drupal\\FunctionalTests\\'] = [$this->root . '/core/tests/Drupal/FunctionalTests'];
        $this->testNamespaces['Drupal\\FunctionalJavascriptTests\\'] = [$this->root . '/core/tests/Drupal/FunctionalJavascriptTests'];
        $this->testNamespaces['Drupal\\TestTools\\'] = [$this->root . '/core/tests/Drupal/TestTools'];
        $this->availableExtensions = [];
        ......
        0% Loading or .
        You are about to add 0 people to the discussion. Proceed with caution.
        Please register or to comment