2nd - 4th March 2018

City, University London

Behat - Arguably the best tool to switch to Automated testing from Manual

Prerequisites

Setup the following on your machine:

  1. Apache
  2. MySQL
  3. PHP
  4. Composer (global installation preferred)
Session content

In no time, the term 'Manual QA" is going to be a dinosaur. What does that mean? Are all the Manual QA going to extinct? Thank Behat, Manual testers can have a bright career into Automation. The term automation is itself horrifying, which means complex framework, complex setup and the biggest of all, lots and lots of coding involved.

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.

In this session, I will be covering the following basic topics:

  1. What is BDD?
  2. What is Gherkin?
  3. How to install Behat?
  4. Various options in Gherkin like Background, Scenario, Scenario Outline
  5. How to get started with writing Behat tests in a feature file which are known as Scenarios in Behat?
  6. Three basic steps to setup any Behat extension
  7. Mink selectors
  8. Running behat tests using Mink
  9. Mink Drivers
  10. Running selective Scenarios (tests)
  11. Introduction to custom functions

In this session, you will learn:

  1. How to get started with writing Behat tests using Gherkin?
  2. How to run Behat tests in a headless browser and a physical browser?
  3. How to setup any Behat extension?
  4. How to create a basic custom function when ready-made step definitions are not available?
Author
shwetasharma
Skill level
Basic understanding
Track
Coding and Development
Session room
ELG15
Session day
Saturday

Keynote speakers

Ryan Szrama

Commerce Guys

Ryan Szrama

Ryan got his start in web development through an online sales company based in Louisville, KY. It was there that he nursed Ubercart through its infancy to its use on over 20,000 websites as the Project Lead and community face of the project.

In 2009, Ryan co-founded Commerce Guys and eventually led the development of Drupal Commerce for Drupal 7. He grew the new project from its first full release at DrupalCon London to its use today on over 60,000 websites.

As of February 2016, Ryan acquired control of Commerce Guys and assumed leadership of the business with his time split between managing the company and contributing to its various open source projects.

Chris Teitzel

Lockr

Chris Teitzel

Chris has been part of the Drupal community for 8 years and during that time has been fortunate enough to be involved in all aspects of the community. Originally part of the team supporting the Omega theme, he helped drive documentation and community support to lower the bar for theming in Drupal. He’s since been involved in projects spanning the globe working with all levels of business from top enterprises to startups building everything from bootstrapped humanitarian tools based on SMS to airline ticketing systems built in Drupal Commerce. In the recent years he has set his sights on security in Drupal and specifically around data privacy and security to again lower the bar for developers to adhere to best practices.

Baddý Sonja Breidert

1xINTERNET

Baddý Sonja Breidert

Baddý Sonja Breidert (baddysonja) is the CEO and Co-Founder of 1xINTERNET, one of the largest Drupal web agencies in Germany. 1xINTERNET has offices in Germany and Spain and has clients all over Europe.

Baddý graduated with B.Sc. in Computer Science from the University of Reykjavik in 2003 and after that completed her M.Sc. in Engineering Management from the Technical University in Vienna, where she today teaches Agile Project management and IT. She is also an European champion in Robotic Soccer - where she competed with her University in 2008.

Baddý has been very active in the Drupal community and has organised conferences and events both in Iceland and Germany. Currently she is one of the main organisers of Drupal Europe, which will take place in fall 2018.

Diamond

Drupal apprentices

The best people to train new developers are developers

The Drupal Apprenticeship Scheme will be running a London intake in March. If you are interested in hiring an apprentice or know someone who would benefit from the scheme please get in touch via the link below.

  • Created and run by experienced developers
  • Teaches core skills and best practice
  • Extensive support for businesses and teams

We are also really keen to hear from people who might be interested in mentoring, training and helping us to develop and review training materials to make sure they stay absolutely current and relevant.

Find out more

Join the Drupal Association

The Drupal Association unites a global open source community to build and promote Drupal.

The Association is a not-for-profit organization that relies on individuals and businesses to fund everything they do for Drupal — from drupal.org to DrupalCon and community programs.

Connect with us and support our mission-driven work.

Support the Drupal Association

Hosting provided by

platform.sh