TDD and BDD: The Ultimate Answer to Life, the Universe, and (Testing) Everything

Writing Your Tests First

The Business Philosopher

Feature: Donuts
Scenario: Glazed donuts
Given I make a fresh run of donuts
When I add glazing
And I serve to customers
Then customers are ecstatic
Scenario: Whole Wheat Vegemite donuts
Given I make a run of whole wheat sugar free donuts
When I add vegemite
And I serve to customers
Then customers burn down my bakery

What is my framework if it’s not BDD or TDD ?

What’s the difference ? Why is there a difference ? Can you do both ?

Wrapping up: Tech stacks come and go, but Fundamentals rarely change

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store