Behat Integration with Drupal using drupalextension module
Follow the http://behat-drupal-extension.readthedocs.io/en/3.1/requirements.html for requirements and run the Selenium server $ mkdir /Users/gopi/behat $ cd /Users/gopi/behat $ curl http://getcomposer.org/installer | php Composer (version 1.3.2) successfully installed to: /Users/gopi/behat/composer.phar Use it: php composer.phar $ sudo vim composer.json { "require": { "drupal/drupal-extension": "~3.0" }, "config": { "bin-dir": "bin/" } } save the above code in composer.json $ php composer.phar install $ sudo vim behat.yml default: suites: default: contexts: - FeatureContext - Drupal\DrupalExtension\Context\DrupalContext - Drupal\DrupalExtension\Context\MinkContext - Drupal\DrupalExtension\Context\MessageContext - Drupa...