<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c" -->

---
title: TDD vs BDD: Selecting The Suitable Framework | daily.dev
description: A comparison between TDD and BDD, implementation of TDD, and advantages of BDD.
canonical: https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: TDD vs BDD: Selecting The Suitable Framework | daily.dev
og:description: A comparison between TDD and BDD, implementation of TDD, and advantages of BDD.
og:url: https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c
og:image: https://api.daily.dev/og/posts/ut3kG3K7c.png
og:image:alt: TDD vs BDD: Selecting The Suitable Framework
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# TDD vs BDD: Selecting The Suitable Framework

**[TestMu AI \(Formerly LambdaTest\)](https://daily.dev/sources/testmu_ai)** · [@enriqueadecoss](https://daily.dev/enriqueadecoss) · 17 min read · 27 upvotes · 4 comments

## Summary

A comparison between TDD and BDD, implementation of TDD, and advantages of BDD.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.lambdatest.com/blog/tdd-vs-bdd/>

## Community discussion

Top comments from developers on daily.dev.

**@randy** · 2 upvotes

> There is so much wrong with this article. Not sure the author even knows one thing about the topic. You can actually do TDD for BDD _and_ ATDD tests. Not only that, but what constitutes an “acceptance test” could be the exact same thing as a test created in a BDD fashion. And on top of that, depending on how you write tests, they may read in a BDD fashion even though you’re not trying to follow BDD. An example of that is using the Spock framework.

---

Tags: [#testing](https://daily.dev/tags/testing), [#agile](https://daily.dev/tags/agile), [#tdd](https://daily.dev/tags/tdd)

[View this post on daily.dev](https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"TDD vs BDD: Selecting The Suitable Framework","url":"https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c"},"datePublished":"2024-04-07T09:52:11.164Z","dateModified":"2024-09-05T06:52:42.073Z","description":"A comparison between TDD and BDD, implementation of TDD, and advantages of BDD.","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a90d077fd10086466c8c21fc28d3c910?_a=AQAEufR","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/a90d077fd10086466c8c21fc28d3c910?_a=AQAEufR","isAccessibleForFree":true,"articleSection":"TestMu AI (Formerly LambdaTest)","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Person","name":"Enrique A Decoss","url":"https://daily.dev/enriqueadecoss","image":"https://media.daily.dev/image/upload/s--O0TOmw4y--/f_auto/v1715772965/public/noProfile","interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"EndorseAction"},"userInteractionCount":50}},"commentCount":4,"discussionUrl":"https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":27},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":4}],"keywords":"testing,agile,tdd","timeRequired":"PT17M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"TestMu AI (Formerly LambdaTest)","item":"https://daily.dev/squads/testmu_ai"},{"@type":"ListItem","position":3,"name":"TDD vs BDD: Selecting The Suitable Framework"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/tdd-vs-bdd-selecting-the-suitable-framework-ut3kg3k7c","comment":[{"@type":"Comment","text":"There is so much wrong with this article. Not sure the author even knows one thing about the topic. You can actually do TDD for BDD and ATDD tests. Not only that, but what constitutes an “acceptance test” could be the exact same thing as a test created in a BDD fashion. And on top of that, depending on how you write tests, they may read in a BDD fashion even though you’re not trying to follow BDD. An example of that is using the Spock framework.","datePublished":"2024-04-07T15:14:25.581Z","url":"https://daily.dev/posts/ut3kG3K7c#c-SfDG8hTL7","author":{"@type":"Person","name":"Randy","url":"https://daily.dev/randy","image":"https://media.daily.dev/image/upload/s--UjV4-KkB--/f_auto/v1708097210/avatars/avatar_HXYbbGcBO38Rfv7RrCBdA"},"interactionStatistic":{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":2}}]}
```

