DrupalCon Seattle 2019: Behavior-Driven Development in Drupal 8 with Behat
About this talk
This talk focuses on implementing Behavior-Driven Development (BDD) in Drupal 8 projects to enhance testing coverage and ensure that requirements are being met while preventing regressions. The speaker discusses essential tools such as Selenium, Behat, Mink, and the Drupal Extension, illustrating the role of each tool through practical examples. Attendees will learn how to set up Behat to run tests, write tests both with and without JavaScript using the Goutte driver and Selenium driver, and configure Selenium for testing from a virtual machine. By the end of the session, participants will have a comprehensive understanding of how to effectively apply these tools in their Drupal 8 development processes.