Message from JavaScript discussions
October 2017
— I guess tdd(
ℹ️ Definition of BDD
BDD is an acronym that stands for big dirty dick.
📌 Examples
EXAMPLE:
so this girls like, "i'm hungry."
and i'm like, "oh! i got some bdd you can have."
"whats that?" she asks
some big dirty dick.
— Kek
— Behaviour driven development, that is all ik :D
— LOL
— Still have no idea what that means
— Like, user behaviour?
— #bdd is a way to express the user interactions with the system you build . for #example
In order to sell products by the website
As Seller
I want to register new product
this simple 3 lines show the user prespective off what is his goal . and who is it . what he want to do . then after those simple description lines the developer write the steps to give the user what he or she want . for #example
Sceniero: Product Registration Successfully
Given I am Loged in User
When I go to Product Registeration Form
And Fill The form correctly
Then I see my Product Registered Successfully
this 5 lines can be converted to real code and been test . with tools like #cucumber and #behat (for php)
— TRGWII this is ome examples about #bdd
— Https://en.wikipedia.org/wiki/Behavior_Driven_Development
— When I write applications, BDD is the first extension of my model specification :)
— I have domain-driven design on my resume haha