BDD 对比 TDD
单选题 中等
题目
什么 distinguishes BDD 从 TDD?
提示
BDD uses 'Given-当-然后' language.
解释
BDD (Behavior-Driven Development) emphasizes 描述 behavior in natural, readable language (Given-当-然后格式) 所以非-technical stakeholders 能理解 specs. TDD (测试-Driven Development) 是 broader 练习的 编写测试之前 code. BDD 是 essentially TDD 使用 focus on behavior specification and shared vocabulary.
相关资源
相关课程
- BDD
Behavior-driven development.
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。