How can I unit test code that contain Task.
我如何单元测试代码,包含任务。
This refactoring enables the unit test code shown in Listing 1.
该重构启用清单1中所示的单元测试代码。
Write the unit test before writing code for class it tests.
首先编写单元测试,然后再编写要测试的类代码。
A unit test is the initial testing of new and changed code in a module.
单元测试是模块中新代码和变更代码最初进行的测试。
We wanted a strong integrated development environment (IDE) to develop and unit test our code.
我们需要一个强大的集成开发环境(IDE)来对我们的代码进行开发和单元测试。
Simply put, unit testing means writing code to test other code.
简单地说,单元测试是用代码测试代码。
The code being edited is on the Unit Test feature.
正被编辑的代码位于Unit Test特性上。
Placing test cases in the same unit as the tested code.
把测试案例和被测试的程序代码放在同一个单元里面。
A unit test is usually written to test a piece of source 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),你用单元测试帮助设计你的代码。
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.
接下来,您编写能够通过这个单元测试的程序代码;
Unit - Developer can test code as an un-integrated unit.
单元-开发人员可以测试代码作为一个不可分的单元。
The source code file that contains the unit test opens.
将打开包含该单元测试的源代码文件。
You can debug your code while a unit test is running.
您可以在单元测试执行时,侦错程式码。
You can debug your code while a unit test is running.
您可以在单元测试执行时,侦错程式码。
应用推荐