What is BDD?

What is BDD Behavior Driven Development?
Joe Burroughs

Joe Burroughs

Many people are frustrated by uncertainty and complexity in their jobs. I use Agile principles to provide clear and simple strategies so that you can win at work!

Behavioral Driven Development is a method of breaking down customer requirements into discrete, real-life scenarios at the feature level. Simply put it is a way to use plain customer activities and expectations, known as customer requirements, to craft the feature set for a product. These customer requirements are then used to create the User Story and build in the scenario into the test plan or acceptance criteria of that story.

BDD starts with customer requirements often relayed to the team’s product owner. Then the product owner and the team have a discussion where they elaborate on the requirements and eventually define them in a structured format.

The most common of these structured formats is known as the Gherkin format that follows the prompts Given, When, Then.

Here is a simple example of BDD:

Customer Scenario:

“I want to be able to login to the website and see my account summary screen.”

Customer Requirement in Gherkin Format:

Given: that I am on the login screen

When: I attempt to login with valid credentials

Then: I am taken to my account summary screen

What’s the value?

This simplifies the testing because the customer requirement becomes the basis for the test script for the associated User Story. BDD also engages testing earlier in the process at the creation of the user story aligning development and testing directly with the customer requirement. The customer focus of BDD is the real heart of the value proposition. The customer scenario being written in plain language allows each team member to understand what the customer wants, why they want it, and any pain points along the way.

And… now you understand BDD!

Cheers,
Joe

Join our Pro Tips Pipeline

Agile Pro Tips respects your privacy.  Read our privacy policy on how we handle your personal information.

Cheers,

Joe Burroughs

Sharing is Caring!

We are working hard to grow our audience and you can help! Please share any content your find valuable or interesting. 

Share on facebook
Facebook
Share on google
Google+
Share on twitter
Twitter
Share on linkedin
LinkedIn
Share on pinterest
Pinterest

Leave a Comment

Your email address will not be published. Required fields are marked *