Chapter 11. Behavior-Driven Development

In this chapter, we will cover:

  • Using Cucumber-JVM and Selenium WebDriver in Java for BDD
  • Using SpecFlow.NET and Selenium WebDriver in .NET for BDD
  • Using Capybara, Cucumber, and Selenium WebDriver in Ruby
  • Using Behave and Selenium WebDriver in Python

Introduction

Behavior-driven development (BDD) is an agile software development method that enhances the paradigm of test driven development (TDD) and acceptance tests, and encourages the collaboration between developers, QA, domain experts, and stakeholders. Behavior-driven development was introduced by Dan North in 2003 in his seminal article Introducing BDD. The article can be accessed at http://dannorth.net/introducing-bdd/.

Behavior-driven development focuses ...

Get Selenium Testing Tools Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.