Test Driven Development (TDD) and Behaviour Driven Development (BDD) are very similar.
I’ll explain why the most important part of both acronyms is the first 'D' for Driven and why it would be better if the second 'D' stood for Design.
We’ll explore what challenges you might face when trying to adopt this way of working and what benefits you will reap when you succeed.
This is a short talk (15 mins) - https://www.youtube.com/watch?v=l95DsKm5fbY
7. @sebrose h)p://cucumber.io
“BDD prac;;oners explore,
discover, define, then drive
out the desired behaviour of
soAware using conversa)on,
concrete examples, and
automated tests.”
h)ps://pragprog.com/book/srjcuc/the-cucumber-for-java-book
From Cucumber for Java Book by Seb Rose, Ma) Wynne and Aslak Hellesøy
9. Acceptance
criteria
User Story
Examples
Feature: Team Scoring
Teams start with zero score.
Correct answer gets points depending on
how difficult it is.
Scenario: Score starts at 0
Given I register a team
Then my score is 0
Scenario: Correct easy answer scores 10
Given I register a team
When I submit a correct easy answer
Then my score is 10
Scenario: Correct hard answer scores 50
Given I register a team
When I submit a correct hard answer
Then my score is 50