Installation¶
To utilize the Drupal Drivers in your own project, they are installed via composer.
{
"require": {
"drupal/drupal-driver": "~1.0"
}
}
and then install and run composer
$> curl -sS http://getcomposer.org/installer | php
$> php composer.phar install
If you plan on using the Drush driver, then you need to ensure that the behat-drush-endpoint is available in the target Drupal site. There are two ways to do this:
- Copy the files manually. The project can be found at:
https://github.com/drush-ops/behat-drush-endpoint
- Use Composer.
If you are using Composer to manage your Drupal site, then you only need to require drupal/drupal-driver and composer/installers, and the behat-drush-endpoint files will be copied to the correct location.