What is BDD/TDD?
BDD/TDD What is it please?
The base concept TDD, test driven development. The idea here is to write tests, typically in unit tests, before code is written. Generally unit tests are written from the point of view of how inputs and expected outputs of a module.
BDD, behavior driven development is an extension of that. Where tests are written at an acceptance level, but is also tied to requirements (typically story requirements). These are written at a user behavior level. Typically a framework such as Gherkin (cucumber being one of the most popular varients) is used to describe the behavior. For example..
As a Admin User of a message board:
Given I have a selected a member,
When I revoke access to this member,
Then this member no longer may no longer login,
And may no longer create new posts,
And my no longer edit posts,
But still has the ability to view existing posts.
I appreciate the expansion on the TDD / BDD.
I am taking some on line training and have tried and like Gherkin. It makes me think of SQL for test cases.