OPOWER CONFIDENTIAL: DO NOT DISTRIBUTE
3 16 January 2012
User Story Test Acceptance and Behavior Driven
Development
» Before There Was Code, a Background in BDD
» What is the BDD Process?
• Identify all the Acceptance Criteria (BDDT) that supports a User Story/Feature before
any code is written.
• Have a complete review of the generated BDD and obtain sign off from the entire
team before starting coding.
• Coding is complete, and a feature can be implemented, when all the Acceptance
Criteria passes.
» What are the Benefits of BDD?
• Creates business value, because only what is needed to support the feature is coded,
nothing more, nothing less.
• Quality increases when developers understand how the feature will be used.
• Sprint quality improves with Agile/BDD zero defect policy.
» What is Testing’s role in BDD?
• BDD acceptance criteria provides Developers with a clear understanding of what they
need to develop.
• QA is responsible for developing the Acceptance Criteria and example data
(permutations) to support User Stories/Features and then ensuring that a formal
review and sign off occurs.