diff --git a/core/scripts/run-tests.sh b/core/scripts/run-tests.sh index b90ef0cd3484da780ab7e5619aad60fb4ca266da..ef0538d4f3fbd7e5a0cb8f136aad412ab6043081 100755 --- a/core/scripts/run-tests.sh +++ b/core/scripts/run-tests.sh @@ -290,8 +290,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 @@ -360,7 +360,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 and the default database connection info to use in tests: