Change Simpletest UI from a test runner to a CLI snippet generator

Created on 30 July 2014, over 10 years ago
Updated 13 November 2024, about 1 month ago

The scripts/run-tests.sh script has matured a lot during D8, and become the preferred way to run tests ( docs β†’ ). It's main advantage is that there can be no leakage between the parent Drupal site and child Drupal site (because there is no child site when --sqlite is used β†’ ). This vastly simplifies debugging test failures, and vastly simplifies the test runner itself. However, many folks still appreciate having a UI for choosing tests to run.

This issue proposes to change what happens when the simpletest form is submitted. Instead of actually running the tests, we print out a bash command which calls run-tests.sh with the parameters for chosen by the user in the GUI. More importantly, we can finally rip out all of the code in Drupal which deals with isolation/leakage. We are one step closer to using phpunit as our test runner.

πŸ“Œ Task
Status

Active

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States moshe weitzman Boston, MA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024