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! While you're at it, check out some resources Treehouse students have shared here.

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


Is 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
Steven Parker
229,921 Points

BDD (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.

Thank you.

Thanks for the heads up! :)