From 747a4dcb9a45da962a8c466104f6b7afb40bea07 Mon Sep 17 00:00:00 2001 From: catch <6915-catch@users.noreply.drupalcode.org> Date: Fri, 20 Sep 2024 22:12:35 +0100 Subject: [PATCH] Issue #3465154 by yujiman85, n-m-daz, nod_: Update run-tests.sh help output to match current test organization --- core/scripts/run-tests.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index f3e0223b4d5a..bf53cfa8d59e 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -296,8 +296,8 @@ function simpletest_script_help() { --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. + (i.e. 'core/modules/user/tests/src/Functional/UserCreateTest.php'). + This argument must be last on the command line. --types @@ -366,7 +366,7 @@ function simpletest_script_help() { sudo -u [wwwrun|www-data|etc] php ./core/scripts/{$args['script']} --url http://example.com/ --all sudo -u [wwwrun|www-data|etc] php ./core/scripts/{$args['script']} - --url http://example.com/ --class Drupal\block\Tests\BlockTest + --url http://example.com/ --class Drupal\Tests\block\Functional\BlockTest Without a preinstalled Drupal site, specify a SQLite database pathname to create (for the test runner) and the default database connection info (for Drupal) to -- GitLab