Update run-tests.sh help output to match current test organization

Created on 1 August 2024, about 2 months ago
Updated 16 September 2024, about 4 hours ago

Problem/Motivation

runtests.sh has simpletest_script_help() to print some command line help when trying to run it, this is incredibly out of date.

e.g.

  --file      Run tests identified by specific file names, instead of group     names.
              Specify the path and the extension
              (i.e. 'core/modules/user/user.test'). This argument must be last
              on the command line.

Drupal core test files haven't been $modulename.test since Drupal 8.

  --url http://example.com/ --class Drupal\block\Tests\BlockTest

This Drupal\block\Tests\BlockTest doesn't exist. tests now live in a Drupal\Tests namespace.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

📌 Task
Status

RTBC

Version

11.0 🔥

Component
PHPUnit 

Last updated 41 minutes ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024