Behavior Driven Development


Behavior Driver Development (BDD) is a software development methodology in which application is designed by describing how it behaves to observer. It is an extension of Test Driven Development (TDD).BDD focus on behavior of application not on tests.

Features of BDD:
  •          Shifting  from thinking in Test to thinking in Behavior
  •          Driven by Business values
  •          It is an extension of Test Driven Development (TDD) by using simple English language, so it is easily understandable to all stakeholders.
  •          BDD framework act as bridge between business and technical.
  •          BDD offers more precise guidance on organizing the conversation between developers, testers and domain experts


Advantages of BDD:
Tests are written in plain English language and are more focused on behavior of application.

Tools used for Behavior Driven Development:

  •     Cucumber:  Cucumber is a Ruby based framework which supports Behavior-Driven Development (BDD).
  •    JBehave:    JBehave is a Java-based framework supporting Behavior-Driven Development (BDD).
  •     SpecFlow:    SpecFlow is a open source .Net tool which allow you to write specification using Cucumber       compatible Gherkin syntax.

Comments