Problem/Motivation
When running run-tests.sh
, --class
and --file
arguments must be last or they will be ignored. (I did not observe this requirement with --module
.)
Steps to reproduce
Run: php core/scripts/run-tests.sh --verbose --color --non-html --sqlite /tmp/drupal/test.sqlite --class "Drupal\FunctionalJavascriptTests\TableDrag\TableDragTest" --url https://.../
Result: ERROR: No valid tests were specified.
Run the same command with --class
moved to the end and tests run.
Proposed resolution
Document this behavior in the help text of the script.
User interface changes
None.
API changes
None.
Issue fork drupal-3187730
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Liam MorlandFix in issue fork.
Comment #3
mondrakeMakes a lot of sense. Can you please open the Merge Request and I’ll RTBC.
Comment #5
mondrakeComment #8
alexpottMerged and cherry-picked back to 9.1.x