Solidify requirements with test-driven development
通过测试驱动的开发来巩固需求
This is consistent with test-driven development practices.
这与测试驱动的开发实践是一致的。
Some of them adapt well to using a test-driven development style.
有些人非常好的适应了测试驱动的开发方式。
This feature greatly improves Visual Studio support for test-driven development (TDD).
此功能大大提高了测试驱动的开发(TDD)的VisualStudio支持。
It has extensive unit tests (in part because I wrote it for a discussion of test-driven development).
它具有丰富的单元测试(因为我编写的目的是用于探讨测试驱动开发)。
A general principle of test-driven development is that you should test all published interfaces to a class.
测试驱动的开发的总体原则之一就是应测试一个类已发布的所有接口。
If you follow the practice of test-driven development, you will actually develop your tests before you develop your code.
如果你遵循测试驱动开发的实践,那么实际上你将在开发你的代码之前开发你的测试。
Sorry, but test-driven development (TDD) is actually faster than just writing the code and throwing it over the wall to QA!
抱歉,比起只是写代码,然后抛给墙那边的QA去测试来说,测试驱动开发(TDD)确实更快!
However, I think it is hard to tell at the moment because not enough people have tried the test-driven development approach.
不过,现在还很难下结论,因为尝试过测试驱动开发的人还是少数。
Two recent, big changes in software engineering have been the growing use of test-driven development and continuous integration.
在软件工程方面,两个最近的重大变化是对测试驱动的开发和持续集成的使用日益增加。
Using the same test-driven development techniques, I created an alternate version of the classifier, which appears in Listing 2.
采用相同的测试驱动开发技术,可以创建该分类器的可替换版本,如清单2所示。
Part 1 of this series on test-driven development in an SOA environment showed you how to write unit tests for SOA applications.
在这个有关SOA环境中的测试驱动的开发系列中,第1部分向您介绍了如何为SOA应用程序编写单元测试。
When you do, they morph into concepts like test-driven development and pair programming, which most people view as rather extreme.
当您这样做时,它们就变成类似测试驱动的开发(Test - Driven Development)和结对编程(PairProgramming)之类的概念,大多数人认为相当极端。
The class consists of a large number of cohesive methods, which is a side-effect of using test-driven development in its construction.
类中包含大量的方法,这是采用测试驱动开发进行构建的副作用。
In test-driven development automated tests should be written in the first place, in comparison to manual tests performed by team members.
在测试驱动开发中,跟团队成员执行的手动测试相比,自动测试的编写应该放在首要位置。
In the previous two installments of this series, I discussed how using test-driven development (TDD) helps you incrementally discover design.
在这个系列的前两期中,我讨论了如何使用测试驱动开发(TDD)帮助您逐步发现设计。
In many projects, developers write unit tests at the same time — or sometimes even before (as in test-driven development) — they write their code.
在许多项目中,开发人员在书写代码的同时书写单元测试——或者有时甚至提前(如在测试驱动开发中)。
Unit testing and test-driven development are excellent tools for managing such fragile systems with confidence, but they only work if you use them.
单元测试和测试驱动的开发这些出色的工具使您可以信心十足地管理此类脆弱系统 ——但只有在您确实使用了这些工具时,它们才能发挥作用。
GUI testing is much more time-consuming and difficult than unit testing and thus often neglected, even in generally test-driven development teams.
与单元测试相比,GUI测试要耗时和困难的多,即使是在测试驱动的开发团队中,因此也常被忽视。
Apache Click also includes an API for mock testing, which allows better unit testing, continuous integration builds, and test-driven development (TDD).
ApacheClick还包含一个用于mock测试的API,可以用它改进单元测试、连续集成构建和测试驱动开发(TDD)。
The important word in the term test-driven development is driven, indicating that testing drives the development process. Figure 1 shows the TDD workflow.
测试驱动开发术语中的关键词是驱动,表示测试将驱动开发流程。
XP practitioners use test-driven development (TDD) and continuous integration to keep the development focus on meeting the requirements with working code.
XP专业人员使用测试驱动的开发(Test-Driven Development,TDD)和持续的集成来保持开发目标(即使用工作代码满足需求)。
One of the practices of test-driven development (TDD) is to write the tests first, then "do the simplest thing that could possibly work" -- in this case, return 6.
测试驱动的开发 (TDD)中的一个练习就是首先编写测试,然后执行可能运行的最简单的操作 —— 如本例中的 return 6。
Even if a development team does not practice test-driven development, having programmatic tests exercise UI code is valuable for regression and integration testing.
即使一个开发团队没有在使用测试驱动开发方式,拥有一个可编程的能测试实际UI代码的框架,对于回归和集成测试也是很有价值的。
Note that a lot of people interpret this to mean that test-driven development is the only sane way to program, and Hani and I strongly disagree with this form of extremism.
很多人都把这句话理解为“测试驱动的开发是唯一正确的编程方式”,但Hani和我极不同意这种极端主义。
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.
测试驱动开发的基本概念是,在写项目代码之前,你写一段简单的代码来测试你假设的项目代码,以获得预期的反应。
Whether a developer USES test-driven development (TDD) or creates unit tests after writing the code, the evidence is clear that unit tests help produce high-quality, bug-free code.
无论一个开发人员是在进行测试驱动的开发(TDD)还是在编写代码后创造单元测试,有一点是十分明显的,那就是单元测试有助于产出高质量、无缺陷的代码。
Build continuous improvement and integration into your tools and processes. Here is a good place operations people can learn from (good) developers about practises like test-driven development.
把“持续改进和持续集成”加入到你的工具和流程中去,这也是运维人员向(优秀的)开发人员学习的好途径,可以学到诸如测试驱动开发等最佳实践。
Finally, in a nod toward test-driven development, manual test scripts can be given to the development staff to provide a clear description of the way the application should flow across use cases.
最后,测试驱动的开发过程中,手工测试脚本可以为开发人员提供一个关于应用软件实现用例方式的清晰描述。
Test-driven development and rspec.
测试驱动的开发和rspec。
应用推荐