BDD & TDD
BDD & TDD go hand in hand to develop quality software which matters.
BDD: collaborative requirements discovery practice, helps create the right features.
3 amigo sessions: happens 2-3 weeks before feature is developed:
– 3 amigos: developer, tester, product owner
– For story perform example mapping: create rules, examples for each rules, questions
Use examples to illustrage rules / acceptance criteria
– Each session should be about 30 mins
– Gherkin can be written by 3 amigos but can be done by dev & tester, reviewed by 3
TDD: It helps think thru requirements before write code, and programming technique to write clean code.
Reference:
https://cucumber.io/docs/bdd/overview/
http://agiledata.org/essays/tdd.html