2017 © Pedro Peláez
 

library codeception-drupal-drush

A Codeception module to allow drush commands to be run during tests.

image

ixis/codeception-drupal-drush

A Codeception module to allow drush commands to be run during tests.

  • Tuesday, February 9, 2016
  • by pfaocle
  • Repository
  • 6 Watchers
  • 3 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Drupal Drush

A Codeception module for running drupal drush commands.

Drupal Drush is a Codeception module for running drush commands on Drupal sites., (*1)

It also allows the use of the following statements in tests:, (*2)

// 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, (*3)

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.

The Versions

09/02 2016

dev-master

9999999-dev https://github.com/ixis/codeception-drupal-drush

A Codeception module to allow drush commands to be run during tests.

  Sources   Download

MIT

The Requires

 

The Development Requires

09/02 2016

0.1.0

0.1.0.0 https://github.com/ixis/codeception-drupal-drush

A Codeception module to allow drush commands to be run during tests.

  Sources   Download

MIT

The Requires

 

The Development Requires

09/02 2016

dev-develop

dev-develop https://github.com/ixis/codeception-drupal-drush

A Codeception module to allow drush commands to be run during tests.

  Sources   Download

MIT

The Requires

 

The Development Requires