Introduction
Behavior-driven development (BDD) is an agile software development method that enhances the paradigm of test driven development (TDD) and acceptance tests, and encourages the collaboration between developers, QA, domain experts, and stakeholders. Behavior-driven development was introduced by Dan North in 2003 in his seminal article Introducing BDD. The article can be accessed at http://dannorth.net/introducing-bdd/.
Behavior-driven development focuses on obtaining a clear understanding of desired application behavior through discussions with stakeholders using a ubiquitous language as described at http://behaviour-driven.org/.
It extends TDD by writing test cases in a natural language that non-programmers can read. Users describe features and scenarios to test these features in plain text files using the Gherkin language in the Given
, When
, and Then
structures. You can find out more about Gherkin language at http://en.wikipedia.org/wiki/Behavior-driven_development and https:...