Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 2
    BDD and TDD are far from orthogonal. They have so many things in common, the most important one being the principal goal: to drive development using tests. I think BDD could be seen as a superset of TDD. Commented Aug 12, 2021 at 7:07
  • @Juan, BDD does not drive development. Dan North was under a lot of influence of TDD at the time and this "BDD" term was a great marketing move. But that's just it - it's a tacky (and imprecise) name. Personally I don't always follow TDD, but I always follow BDD. The latter doesn't require the former. Please read the links that I posted. Commented Aug 12, 2021 at 7:16
  • I did, and he speaks about testing throughout the entire article. To "drive" the development of a project using tests means that tests steer the project towards the right direction. It doesn't matter if those tests are Unit tests, focused on smaller units (like classes), or full blown acceptance tests that focus more on the behavior. The key part is that there is a test guiding the development of the project (development including requirements, coding and maintenance in this case). Commented Aug 12, 2021 at 15:45
  • @Juan, okay, since we're going in circles - let me ask you to show some kind of proof. Give me an example of how BDD steers the development exactly. Here is how TDD drives it: instead of thinking of large problem you split it into smaller steps and implement your classes & methods in small chunks. Now show me an exact way in which BDD drives development. Commented Aug 12, 2021 at 16:10
  • Refer to Wikipedia: en.wikipedia.org/wiki/Behavior-driven_development, more specifically the paragraph: "Principles of BDD" . Commented Aug 12, 2021 at 18:44