Introduces in 2006 in Better Software magazine
Developers didn't use TDD
Don't write a test, describe a behaviour !
Feature: getNumberOfSuperLi
Scenario: There is no Super li elements
Given QuerySelector API returns an empty array
When it returns the number of found elements
Then the number of found elements should be 0Actually, the well known solution to write BDD scenario in "natural language"
BDD is really powerful in an agile organisation
Like TDD, it should not be a dogma
Can be seen like write it own testing framework ...