Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M2192

Behavior-Driven Development - BDD

Behavior-Driven Development - BDD
CultureHigh supportLinguistics
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

Behavior-driven development (BDD) is an agile software development technique that encourages collaboration among developers, QA, and non-technical or business participants in a software project. BDD was originally named by Dan North in 2003, and it includes practices from extreme programming such as acceptance testing and customer test-driven development, as a response to test-driven development. Over the past few years, it has evolved significantly. In 2009, at the "Agile Specifications, BDD, and Extreme Testing Exchange" in London, Dan North gave the following definition of BDD: BDD is a second-generation, outside-in, pull-based, multi-stakeholder, multi-scale, highly automated agile method. It describes an interaction loop, ...

Definition

An evolution of TDD. It uses natural language (Given/When/Then format) to describe software behavior, allowing non-technical people (product managers, customers) to understand test cases. Scaffold use: unified language. It transforms technical tests into business stories. In cross-disciplinary collaboration, establishing a 'ubiquitous language' that everyone can understand is key to reducing collaboration costs.

How to use

Unified language. It transforms technical tests into business stories. In cross-disciplinary collaboration, establishing a 'ubiquitous language' that everyone can understand is key to reducing collaboration costs.

Mechanism

Behavior-Driven Development (BDD) uses natural language 'Given-When-Then' scenarios to describe behavior, aligning development, testing, and business.

Practice

In progress 0/3

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Use Gherkin to describe 'Given the shopping cart has items, When clicking checkout, Then an order is generated' and verify automatically.

Common pitfalls

  • Treating BDD as UI testing, losing the intent of aligning 'behavior' with business value.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    zh.wikipedia.orghttps://zh.wikipedia.org/wiki/%E8%A1%8C%E4%B8%BA%E9%A9%B1%E5%8A%A8%E5%BC%80%E5%8F%91ZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS