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 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
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.