Skip to content

Behavior Driven Development

Mahmoud A. Zaid edited this page Mar 12, 2019 · 1 revision

What is BDD?

Behavior Driven testing is an extension of TDD. Like in TDD in BDD also we write tests first and the add application code. The major difference that we get to see here are

  • Tests are written in plain descriptive English type grammar
  • Tests are explained as behavior of application and are more user focused
  • Using examples to clarify requirements

Features of BDD

  • Shifting from thinking in “tests” to thinking in “behavior”
  • Collaboration between Business stakeholders, Business Analysts, QA Team and developers
  • Ubiquitous language, it is easy to describe
  • Driven by Business Value
  • Extends Test Driven Development (TDD) by utilizing natural language that non technical stakeholders can understand
  • BDD frameworks such as Cucumber or JBehave are an enabler, acting a “bridge” between Business & Technical Language
Clone this wiki locally