Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial

Paulina Torreblanca
11,383 PointsIs there a specific reason for calling it BDD as oposed to TDD?
Until now I've only been used to hearing about TDD - Test Driven Developent in relation to using Jest and Mocha. What is the difference between BDD and TDD or is it simply a case of naming preference?
2 Answers

Steven Parker
225,769 PointsBDD (Behavior Driven Development) is also a test-first approach like TDD (Test Driven Development), but differs by testing the actual behavior of the system from the end user's perspective.
The BDD approach is an extension of TDD and is intended to avoid false results that can occur with TDD.

Paulina Torreblanca
11,383 PointsThanks for the heads up! :)
Paulina Torreblanca
11,383 PointsPaulina Torreblanca
11,383 PointsThank you.