A workshop on Behat with Mink and Drupal extension
Get started with automated browser testing, the codeless way using Behat. Behat is an open source BDD PHP framework. It has a rich library of extensions which will help you test user workflow, Drupal backend scenarios, test your APIs and also develop a Page Object Automation framework. By enabling these ready-to-use extensions, one can automate most parts of the website by using predefined step definitions, without any coding experience,
Please install the following before attending the session:
-
MAMP / XAMPP / LAMP
-
Composer (System-wide installation preferred)
-
Local Drupal 8 site
-
Download latest Selenium Standalone Server
-
Java
In this practical session, you would learn the following:
-
Behat installation
-
Composer
-
YAML configuration
-
-
The Gherkin language
-
Structure of Behat
-
Features
-
BDD
-
-
Mink extension
-
Installation using the Composer
-
YAML Config changes
-
Ready to use steps
-
Filling forms
-
Assertions
-
-
Drivers
-
Goutte
-
Selenium2
-
-
-
Custom function
-
FeatureContext file
-
-
Drupal extension
-
Installation using the composer
-
YAML config changes
-
Ready to use steps
-
Login with certain roles
-
Create Content
-
-
Drivers
-
Blackbox
-
Drush
-
Drupal API
-
-
-
Execution on local Drupal 8 installation
-
Browser based
-
Headless browser
-
Tagged scenarios
-
Skip scenarios
-