Active
Project:
Drupal core
Version:
main
Component:
phpunit
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Dec 2025 at 17:38 UTC
Updated:
20 Dec 2025 at 07:22 UTC
Jump to comment: Most recent
Drupal CMS currently uses raw phpunit to run tests in its gitlab pipeline.
This is due to run-tests.sh struggling with autoloading (I don't know the exact error).
Also I'm not sure whether run-tests.sh can discover Drupal CMS's recipe tests in the repository layout that it has, but we should make sure that works as well. This way, Drupal CMS and eventually other large composite recipes/site templates would be able to take advantage of the method ordering and concurrency optimisations that core + contrib modules already do.
Comments
Comment #2
mondrakeComment #3
mondrakeContrib currently does not benefit of test methods ordering for concurrency optimization on run-test.sh, since it’s only implemented for test runs that use PHPUnit test suites for segmenting execution. Contrib using GitLab Templates use directory based filtering.
Please review #3538002: run-tests.sh - separate test allocation to bins into a WorkAllocator class that extends ordering to other filtering logics.
Comment #4
mondrakealso related