下面列出了测试驱动开发(TDD)和行为驱动框架(BDD)之间的区别-
| Sl编号 | TDD | BDD | 
|---|---|---|
| 1 | 这是由开发人员驱动的。 | This is driven by developers, QAs,
product owners, customers and
business analysts. | 
| 2 | 这主要集中在应用程序功能的编码实现上。 | This is mostly focused on the
business scenarios of the product. | 
| 3 | 这主要用于单元测试。 | This is mainly for making developers,
testers, product owners, customers
and business analysts agree on
functional requirements of the
application. | 
| 4 | 流行使用的工具是JDave,SpecFlow等。 | The popularly used tools are
Cucumber, Gherkin, BeanSpec and
so on. | 
| 5 | TDD被称为“测试驱动开发”。 | BDD is known as Behavior Driven
Framework | 
| 6 | 测试用例的设计是TDD的起点。 | The designing of scenarios is the
starting point of BDD | 
| 7 | TDD用于涉及第三方工具和API的项目。 | BDD is used for projects involving the
end users interaction | 
| 8 | TDD要求团队成员具有技术知识。 | BDD does not require team members
with technical knowledge. | 
| 9 | 在应用程序中出现缺陷的可能性较小。 | The probability of having defects in
the application is more compared to
TDD. | 
| 10 | 需要开发人员之间的协调。 | Requires coordination among
the developers. | 
| 11 | 测试用例是在任何编程语言的帮助下编写的。 | 测试用例用简单的英语编写。 |