Behavior Driven Development
Behavior Driven Development (BDD) combines ideas and techniques from TDD with those of the domain-driven design approach. As such, it can be considered as an evolution of TDD.
The main focus of the BDD methodology is to improve the collaboration and communication between software developers, quality assurance teams, and analysts and business users. To do so, BDD pushes the idea of describing stories composed of scenarios, understood by all stakeholders.
Those stories and scenarios become the specifications of the system and can be written along with the tests and validated by them, as part of your code base. When you do so, then those scenarios and stories become executable specifications. By executing BDD tests, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access