Unit tests must be managed as first-class application code.
单元测试必须作为一级应用程序代码管理。
If you think a piece of code is confusing, write unit tests for it.
如果你觉得一段代码难于理解,那么就写一个单元测试。
Write the unit test before writing code for class it tests.
首先编写单元测试,然后再编写要测试的类代码。
If they write unit tests, they can write them before implementing the code.
如果他们书写单元测试的话,他们就可以在执行代码之前就去书写了。
The code is "done" when all of the unit tests pass.
一旦通过全部单元测试,代码也就完成了。
The best way to start is to create unit tests for new code.
最佳的入手方式就是为新代码创建单元测试。
Capture code comments in unit tests.
在单元测试中捕获代码注释。
A unit test is the initial testing of new and changed code in a module.
单元测试是模块中新代码和变更代码最初进行的测试。
Before writing any production code, we'd write our unit tests.
在实际开始编写产品代码之前,我们需要编写单元测试。
We wanted a strong integrated development environment (IDE) to develop and unit test our code.
我们需要一个强大的集成开发环境(IDE)来对我们的代码进行开发和单元测试。
Developers write the unit tests as they write code.
开发人员在他们编写代码的同时编写单元测试。
The LAB column indicates what type of code unit this is.
lab栏指明了这是哪种代码单元类型。
Simply put, unit testing means writing code to test other code.
简单地说,单元测试是用代码测试代码。
The basic unit of GWT code is the module.
GWT代码的基本单元是模块。
Unit tests give developers confidence that their code works.
单元测试使开发人员有信心相信他们的代码能够工作。
The code being edited is on the Unit Test feature.
正被编辑的代码位于UnitTest特性上。
This refactoring enables the unit test code shown in Listing 1.
该重构启用清单1中所示的单元测试代码。
Placing test cases in the same unit as the tested code.
把测试案例和被测试的程序代码放在同一个单元里面。
A unit test is usually written to test a piece of source code.
编写单元测试通常是为了测试一段源代码。
The full unit testing-related code is supplied in the sample code.
完整的关于单元测试的代码在样例代码 中。
Provide training that covers Code Smells, Refactoring, Unit Test and Test Driven Development.
提供一些培训,包括代码的坏味道,重构,单元测试和测试驱动开发等。
With test-driven development (TDD), you use unit tests to help design your code.
利用测试驱动开发(TDD),你用单元测试帮助设计你的代码。
This links the information to the code data of the next largest packaging unit.
这个链接的信息,下最大的包装单元的代码数据。
The unit test should express your intention for how you expect your code to behave.
这个单元测试应当准确表达您期待的代码的行为。
Perform code and unit test of the development tasks.
完成的开发任务中的代码编写和单元测试。
Next, you write just enough code in order for the unit test to pass.
接下来,您编写能够通过这个单元测试的程序代码;
Develops Software Source Code Modules and Unit Tests.
负责软件源代码模型和单元测试的开发。
Unit tests make your code safe to refactor.
单元测试使您能够安全地重构代码。
Unit tests make your code safe to refactor.
单元测试使您能够安全地重构代码。
应用推荐