Drupal Drush is a Codeception module for running drush commands on Drupal sites.
It also allows the use of the following statements in tests:
// Execute "drush cc all"$I->getDrush("cc", array("all"))->mustRun();{
"require": {
"codeception/codeception": "~2.0.0",
"ixis/codeception-drupal-drush": "~0.1"
}
}Drupal Drush minimally requires Codeception 2.0.* and PHP 5.4
class_name: AcceptanceTestermodules:
enabled:
- PhpBrowser
- AcceptanceHelper
- DrupalDrushconfig:
PhpBrowser:
url: 'http://localhost/myapp/'DrupalDrush:
drush-alias: '@mysite.local'# The Drush alias to use (required).drush-aliasis required.