第ii部分:行为驱动开发(BDD)。
行为驱动开发(BDD)的流行已然无可逆转。
Behavior Driven Development's (BDD) popularity cannot be denied.
第一部分介绍了编码招式,第二部分结合应用了行为驱动开发。
Part one introduced coding katas, part two combined them with behavior driven design.
Cucumber是一款颇受赞誉的针对行为驱动开发(BDD)而设计的测试工具。
Aslak: Cucumber is an acceptance testing tool that is designed for Behaviour Driven Development (BDD).
行为驱动开发则更进一步,通过使用自然语言,直接把单元测试(以及测试用例)同需求联系起来。
Behavior Driven Development goes further by directly associating unit tests (and test cases) with the requirements via the use of natural language.
您可能已经注意到,本月对行为驱动开发(BDD)的探索中,Linda实际上就是客户。
What you may have noticed about this month's exploration in behavior-driven development, or BDD, is that Linda was, in essence, the customer.
测试驱动开发(TDD)和行为驱动开发(BDD)现在已经成为广泛应用的软件开发技术。
TDD and BDD are now widely-used software development techniques.
这个例子使用了华丽的specs库,它提供了一套高效的dsl来用于行为驱动开发测试和工程方法学。
This example USES the superb Specs library, which effectively provides a DSL for the behavior-driven development testing and engineering methodology.
这个部分Jamie将给读者介绍行为驱动开发(BDD),同时他会解释BDD如何提高单元测试的有效性。
In this part Jamie introduces the reader to behavior driven development and explains how it can improve the effectiveness of unit testing.
当Dan率先介绍行为驱动开发时,他改变了在TDD中广泛使用的语言,转而使用行为性词汇来代替测试词汇。
When Dan first introduced behavior Driven Development, he changed the language commonly used in TDD, using the vocabulary of examples of behavior in place of tests.
你可以把下面的例子看作使用specs库(参见“Specs”章节)来编写行为驱动开发[bdd]程序的风格。
Consider this example of a style of test writing called Behavior-Driven Development [BDD] using the Specs library (see the section called "Specs").
当需要自动化这些场景时,我们可以使用行为驱动开发(BDD)和场景语言Given、When、Then来定义这些(场景)。
We can use Behaviour Driven Development, and the language of scenarios, Given, When and Then, to define these. This helps when it comes to automating the scenarios.
使事情更加有趣(和简单)的是,我使用了easyb,这是一个基于Groovy的行为驱动开发架构,利用自然语言验证。
To make things extra interesting (and easy) I've used easyb, a Groovy-based behavior-driven development framework that facilitates natural-language verification.
它允许使用行为驱动开发(BDD)以及领域特定语言(DSL)技术实现自动化测试,同时它也支持使用Groovy动态语言来编写测试脚本。
It USES Behavior Driven Development (BDD) and Domain Specific language (DSL) techniques to allow test automation and also supports writing tests scripts using Groovy dynamic language.
这种继续向更复杂和过程驱动解决方案移动的行为将增加用户和开发者之间“断开”的风险。
The continuing movement toward more complex and process-driven solutions further increases the risk of these "disconnects" between users and developers.
跟其他单元测试一样,消费者测试可用于驱动开发活动:开发者创建服务行为,以满足测试的期望。
Much as any with other unit test, consumer tests can be used to drive development activities, with developers creating service behaviours to satisfy the tests' expectations.
测试驱动开发的基本概念是你在写代码之前,你先写一小块代码,用于测试你假想的项目代码是否实现了预期的行为。
The basic concept of test-driven development is that before writing project code, you write a simple piece of code that tests your hypothetical project code for desired behavior.
同时,通过对组织环境、行为等的多方面了解和观察,探索组织的生涯开发的驱动力、目标。
At the same time, the organizational environment, a number of ACTS of understanding and observation, the exploration of career development organization the driving force goals.
用例驱动技术从行为者的角度建立用例,旨在减少软件开发的复杂度。
Research and Application of Use-Case Driven Analysis Method on Software Requirements Elicitation;
用例驱动技术从行为者的角度建立用例,旨在减少软件开发的复杂度。
Research and Application of Use-Case Driven Analysis Method on Software Requirements Elicitation;
应用推荐