Presentation is loading. Please wait.

Presentation is loading. Please wait.

Dive Deep Into Drupal Extension In Behat

Similar presentations


Presentation on theme: "Dive Deep Into Drupal Extension In Behat"— Presentation transcript:

1 Dive Deep Into Drupal Extension In Behat
Shweta Sharma

2 Overview of Behat BDD Gherkin Mink Extension Functional Regression

3 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

4 Steps to install Require Dependencies In Composer Install Composer
Activate The Extension In behat.yml Initialize Behat Get Started With Features

5 composer.json

6 behat.yml

7 Drupal Extension Drivers

8 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

9 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


Download ppt "Dive Deep Into Drupal Extension In Behat"

Similar presentations


Ads by Google