Dive Deep Into Drupal Extension In Behat Shweta Sharma
Overview of Behat BDD Gherkin Mink Extension Functional Regression
Drupal extension Acts As An Integration Layer Supports BDD Useful In Performing Drupal Testing Tasks Supports Drupal 6, 7, & 8 Tests Run On Both Local And Remote Server
Steps to install Require Dependencies In Composer Install Composer Activate The Extension In behat.yml Initialize Behat Get Started With Features
composer.json
behat.yml
Drupal Extension Drivers
Tests Running Using Blackbox Driver Tests Running Using Drush Driver Demo on Tests Running Using Blackbox Driver Run tests using region maps Tests Running Using Drush Driver Explain steps to set up tests to run on a remote server Run tests on a remote server to create users & explain hooks Tests Running Using Drupal API driver Explain steps to modify behat.yml Run tests on local D8 installation to create nodes
Advantages Ready To Use Step Definitions Tests Run On Both Local & Remote Servers Reusable Test Data Part Of Continuous Integration Maintained Project Active Forum & Support Available