From the course: Playwright Python and Pytest for Web Automation Testing: Master Modern Web Testing with Playwright and Pytest in Python

Unlock this course with a free trial

Join today to access over 25,200 courses taught by industry experts.

What is behavior-driven development?

What is behavior-driven development?

Until now, we have learned about web automation, testing, and all the related things. In this section, we will learn about behavior-driven development, which is an agile software development practice. A typical project using behavior-driven development would begin with a conversation between the developers, managers and the customer to form an overall picture of how a product is intended to work. The expectations for the product's behavior are then set as goals for the developers. And once all of the goals are met, the product is considered complete. In practice, the first step is to write down the desired features in plain English after discussion. Now not only developers but it also includes clients, the stakeholders or any customer representative. The second step is for the tester to write the test according to the features discussed in the previous step. Finally the product is developed driven by the features discussed and the tests written. There are many benefits of behavior…

Contents