BDD vs TDD

If you’re not familiar with these acronyms, they stand for Behaviour-Driven Development and Test-Driven Development, BDD is little more complex as compare to TDD here are some of the basic differences:

TDD in its simplest form is just this:

Write your tests > Watch them fail > Make them pass > Refactor > Repeat

Practices of BDD in short is :
Establishing the goals of different stakeholders required for a vision to be implemented,
Involving stakeholders in the implementation process through outside-in software development,
Using examples to describe the behavior of the application, or of units of code,
Automating those examples to provide quick feedback and regression testing.

Post a Comment