Behavior-Driven Development with Drupal and Cypress.io

Presenters: pmelab
Video

Google Slides

 

Behavior-driven development is the art of establishing a common language, improving communication, create automatable tests and providing living, always-accurate documentation at the same time. Especially in large scale projects with complex workflows and many individual needs, it is an indispensable tool to ensure seamless communication, clear goals, and mutual understanding.

 

We are going to look deeper into the Gherkin language and its application to find out that it goes far beyond simple automated acceptance testing. And then we will show how to use the Cypress module for Drupal to add some simple automated acceptance testing to your Drupal project or module :)

 

Session content:

 

  • What is behavior-driven development?
  • What’s the relation to Domain-Driven Design?
  • Who writes scenarios?
  • Do’s and Don’ts for writing good scenarios
  • Example implementation in a Drupal project
  • Tips on maintaining a testable project
  • Comparison to Unit tests and testing strategies
Audience
Experience Level
Intermediate
Schedule Info
Conference Year
2020
Date / Time
Room
Debug Academy
Status
Accepted
Session Track
Coding and Development