Drupal - How to run drush tests from the command line?

The test-run command was removed from Drush; the recommendation now is to simply run the scripts/run-tests.sh script in Drupal folder directly.

See: Running tests through command-line.


The exact command to run the test from drupal root is :

php scripts/run-test.sh module_name

Where module name may be Profile for example or your custom module name. Similarly you can run particular test case from a particular module as well.

Tags:

Drush

7