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*
- 2BDD 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.ccov77– ccov772021-08-12 07:07:19 +00:00Commented 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.Stanislav Bashkyrtsev– Stanislav Bashkyrtsev2021-08-12 07:16:02 +00:00Commented 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).ccov77– ccov772021-08-12 15:45:27 +00:00Commented 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.Stanislav Bashkyrtsev– Stanislav Bashkyrtsev2021-08-12 16:10:02 +00:00Commented Aug 12, 2021 at 16:10
- Refer to Wikipedia: en.wikipedia.org/wiki/Behavior-driven_development, more specifically the paragraph: "Principles of BDD" .ccov77– ccov772021-08-12 18:44:21 +00:00Commented Aug 12, 2021 at 18:44
| Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. design-patterns), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you