The BDD Process and Workflow Slides
The BDD Process and Workflow Slides
Workflow
Marko Vajs
Software Development Engineer in Test
Phases of BDD
Discovery
Automation Formulation
Discovery of User Stories
Discovery of User Stories
User
Story
Rule 1
Rule 4
Rule 2
Rule 5
Rule 3
Example Mapping
User
Question
Story
Example
Example Example Example Example
Example
Example
Formulation of Scenarios
Formulation of Scenarios
Process of turning a shared understanding of how a system should behave into a
business readable specification.
When the user clicks the "Add to Cart" button for the item "Phone
Charger"
Then the item "Phone Charger" should be added to the shopping cart
Acceptance
Criteria
Refinement
// lines from the Java class
@When("the user clicks the \"Add to Cart\" button for the item \"Phone Charger\"")
public void userClicksAddToCartButtonStep() {
When the user clicks the "Add to Cart" button for the item "Phone Charger"
…
The Dual Purpose of Automated Scenarios
Tests Documentation