翻译,行为驱动开发(一)Behaviour Driven Development

行为驱动开发(BDD)源自测试驱动开发与验收测试计划,它整合了测试驱动开发与领域驱动设计,旨在确保业务和技术团队使用一致的方式描述系统,以实现可验证的商业价值交付。BDD强调三个核心原则:业务和技术的一致性、系统的商业价值及减少前期过度分析、设计与规划。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

翻译,行为驱动开发(一)Behaviour Driven Development

英文原文:http://behaviour-driven.org/BehaviourDrivenDevelopment

行 为驱动开发(BDD)衍生于测试驱动开发和验收测试计划,它将测试驱动开发与领域驱动设计这两种有效的开发方法更紧密联系在一起。通过 一个共通的词汇表(common vocabulary, 也称普遍语言),业务逻辑与技术之间的间隙得以弥合,使得我们可以将开发的重心放在交付具有较高优先级的,可验证的商业价值(business value,业务价值?)上。

它将一个基于三个核心原则的行为框架展现在我们面前:
1. 业务和技术应该使用一致的方法表达同一个系统
2. 任何系统都应该有明确并且可验证的商业价值(业务价值?)
3. 预先分析!设计与计划的效果会越来越差(起码是低于预期的)

(译者:以下几段的核心就是:有了BDD,沟通不再困难,广告?另,此段翻译有译者自添的部分,-_-)
实 际的开发中,开发者,测试者,分析人员,业务(business),以及经理这些角色,由于各自领域的不同,彼此之间常常是鸡同鸭讲,误会时有发生。 BDD依靠一个极为明确的词汇表将使这种误会降至最低 从而保证了这些不在同一层面的角色可以使用共通的语言。如果你熟悉领域驱动开发,那么你可以把BDD看作是软件开发中的"世界语"。
有一点要指出的是,BDD并非崭新的理论,而是脱胎于业已存在的实践。BDD致力于使沟通渠道通畅,基于此念,一个准确,易懂,生动,一致(无歧义?)的词汇表由此产生。

附,英文原文
Behaviour-Driven Development (BDD) is an evolution in the thinking behind TestDrivenDevelopment and AcceptanceTestDrivenPlanning.

It pulls together strands from TestDrivenDevelopment and DomainDrivenDesign into an integrated whole, making the relationship between these two powerful approaches to software development more evident.

It aims to help focus development on the delivery of prioritised(此处疑为prioritized), verifiable business value by providing a common vocabulary (also referred to as a UbiquitousLanguage) that spans the divide between Business and Technology.


It presents a framework of activity based on three core principles:

1. Business and Technology should refer to the same system in the same way

2. Any system should have an identified, verifiable value to the business

3. Up-front analysis, design and planning all have a diminishing return

BDD relies on the use of a very specific (and small) vocabulary to minimise miscommunication and to ensure that everyone – the business, developers, testers, analysts and managers – are not only on the same page but using the same words.

For people familiar with the concept of DomainDrivenDesign, you could consider BDD to be a UbiquitousLanguage for software development.

It must be stressed that BDD is a rephrasing of existing good practice, it is not a radically new departure. Its aim is to bring together existing, well-established techniques under a common banner and with a consistent and unambiguous terminology. BDD is very much focussed on “Getting the words right” and this focus is intended to produce a vocabulary that is accurate, accessible, descriptive and consistent.
(删除废话一句)


In fact “Getting the words right” was the starting point for the development of BDD, and is still very much at its core, but the power of getting the words right has led to some insights and extrapolations that have helped us to better understand our approach and to extend it.
本段暂时忽略

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值