ixis / codeception-drupal-drush
This package is abandoned and no longer maintained.
No replacement package was suggested.
A Codeception module to allow drush commands to be run during tests.
0.1.0
2016-02-09 14:38 UTC
Requires
- codeception/codeception: ~2.0.0
- symfony/process: ~2.6
Requires (Dev)
- phpunit/phpunit: ~4.7
This package is not auto-updated.
Last update: 2020-08-21 20:16:17 UTC
README
A Codeception module for running drupal drush commands.
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();
Install with Composer
{ "require": { "codeception/codeception": "~2.0.0", "ixis/codeception-drupal-drush": "~0.1" } }
Drupal Drush minimally requires Codeception 2.0.* and PHP 5.4
Example suite configuration
class_name: AcceptanceTester modules: enabled: - PhpBrowser - AcceptanceHelper - DrupalDrush config: PhpBrowser: url: 'http://localhost/myapp/' DrupalDrush: drush-alias: '@mysite.local' # The Drush alias to use (required).
Required configuration
drush-alias
is required.