Problem/Motivation
The transition to Drupal 9 sees us shuffling around some of the testing infrastructure.
We might keep the Testing UI: #3028663: Split up simpletest into simpletest and testing_ui to enable easier decisions for Drupal 9
We might not need the Simpletest framework at all: #2807237: PHPUnit initiative
We might need to maintain some of the Simpletest framework: #2866082: [Plan] Roadmap for Simpletest
Some core devs want to abandon run-tests.sh in favor of, for instance, paratest, though there is no issue about this conversion.
Since it's impossible to search for 'run-tests.sh' on D.O, here is a meta about it: #2626986: [meta] Improvements to run-tests.sh
Background
A good chunk of the test runner code that run-tests.sh uses is within the simpletest module. That's why the script has a dependency on that module.
run-tests.sh is itself largely untestable and brittle.
It is not a good fit for our actual testing needs, having been accrued over many years of short-term fixes.
Much of the work to refactor this part of the testing system has been done but not reviewed or committed. See child issues for #2866082: [Plan] Roadmap for Simpletest
Proposed resolution
Decide the fate of run-tests.sh. Will we support it and make it a better fit for our needs? Or will we gut it and use some other, as yet unproven test runner?
Remaining tasks
Do all the things.
Comments
Comment #2
mile23Comment #3
mondrakeAdding related
Comment #5
xjmThese would be a minor-only changes if not major-only ones. Since 8.9.x and 9.0.x are now in beta, I'm moving this to 9.1.x. Thanks!
Comment #6
joachim commented> Some core devs want to abandon run-tests.sh in favor of, for instance, paratest, though there is no issue about this conversion.
Why do we need something more than vendor/bin/phpunit?
Comment #7
lendude@joachim concurrency. PHPUnit doesn't do it, the testbot needs it.