thinQmaster Virtual testing partner Adaptive practice exams that find your weak spots and drill them. Every answer explained. From $69
Enroll

thinQmaster

Find your exam

Five questions free, before you decide.

Step 1 · choose a vendor

In one of our camps? Your practice exams come with the tuition — they are on your study page already.

DevOps & Automation · Intermediate

Behavior-Driven Development (BDD)

A practice that describes system behavior in plain-language scenarios, typically Given/When/Then, that become automated acceptance tests.

Definition

BDD improves collaboration between business and technical roles. Tools such as Cucumber, behave, and SpecFlow map Gherkin steps to test code.

Example

Given a logged-in user, When they add an item, Then the cart count is 1.

Exam tip

Gherkin's Given/When/Then syntax is the giveaway for BDD.

Related terms