On Github lpeabody / behat-presentation
To get Behat running we need to install Behat and then initialize it for our project.
This will typically live outside the root by one level. (eg. ./docroot/../behat)
Add and configure composer.json.{ "require": { "drupal/drupal-extension": "~3.0" }, "config": { "bin-dir": "bin/" }, "autoload-dev": { "psr-4": { "Kripalu\\": "src/" } } }composer install! bin/behat --init
Kripalu behat.yml
default: suites: forms: contexts: - Kripalu\MinkExtendedContext - Kripalu\Suite\Forms\FormsContext paths: - %paths.base%/features/forms extensions: Behat\MinkExtension: goutte: ~ selenium2: wd_host: "http://localhost:8643/wd/hub" base_url: http://kripalu.dev files_path: %paths.base%/files Drupal\DrupalExtension: blackbox: ~ api_driver: 'drupal' drush: alias: 'local.kripalu' drupal: drupal_root: '/Users/les.peabody/Sites/kripalu/docroot'