Skip to main content

BDD - Behaviour Driven Development

What is it

  • Acceptance criteria in the context of BDD refer to the specific behaviors a system should exhibit in order to be considered correct, the scenarios in which all possible acceptable behaviours are described. The approach focuses using plain language that everyone involved can understand.

Who

  • The primary creators of acceptance criteria is the product manager
  • During refinement the product manager works collaboratively with the tester and developer to review and baseline the acceptance criteria and efficacy of the syntax

Running the technique

  • Identify each possible scenario that might validly occur for the backlog item
  • For each scenario, define the behaviour that must be met for it to be considered done and accepted
  • Define each behaviour in the form of : GIVEN… (define the precondition, setting the scene) , WHEN.. (define the action to be taken, the thing we are testing), THEN…(define the expected result occurring from that action). An ‘AND maybe added to any of the three statements.