Agility concept: TDD and BDD

Quality Assurance, Software testing, Technology

Here are some interesting resources about TDD (Test Driven Development) and BDD (Behaviour Driven Development). I made this video list as my personal note to understand the concept:

What are the difference between TDD and BDD?

What is TDD?

Notes from “what is TDD?”:

screen-shot-2017-01-28-at-4-59-42-am

What is BDD?

TDD vs BDD

Notes from “TDD vs BDD”:

BDD Concept: Context – Event – Outcome

1. Context: Starting state

Example:

Given the battery is charged
And there is petrol in the tank
And neutral gear is engaged
And the throttle is 1/4 open

2. Event: What the user does

Example:

When I operate the kick-starter

3. Outcome: The expected result.

Example:

Then the engine should start

Leave a Reply

Your email address will not be published. Required fields are marked *