250 likes | 649 Views
Behavior Driven Development. Mark Buxton. An agile software development technique Aims to bring developers and non-technical stakeholders closer together Originally coined in 2003 by Dan North, author of JBehave, the first BDD tool. So what is BDD?. 50-60%
E N D
Behavior Driven Development Mark Buxton
An agile software development technique Aims to bring developers and non-technical stakeholders closer together Originally coined in 2003 by Dan North, author of JBehave, the first BDD tool So what is BDD?
50-60% of issues identified by testers are requirement defects The Avoidable Cost
But this doesn't apply to me and my team because we are Agile
Having conversations Capturing conversations Automating conversations
BDD Principles It’s all behavior (everything can be described in behavior) Business and Technology should refer to the same feature in the same way
Scenario writing Feature: Serve coffee In order to earn money Customers should be able to buy coffee at all times Scenario: Buy last coffee Given there are 1 coffees left in the machine And I have deposited 1 dollar When I press the coffee button Then I should be served a coffee
http://docs.behat.org/guides/1.gherkin.html http://shashikantjagtap.net/speed-up-your-bdd-with-sublime-text-2/