How can I unit test code that contain Task.
我如何单元测试代码,包含任务。
This refactoring enables the unit test code shown in Listing 1.
该重构启用清单1中所示的单元测试代码。
In VS2008 for example, we inserted comments into generated unit test code in order to help beginner users to understand the various components of a unit test.
例如在VS 2008中,我们在生成的单元测试代码里加入注释来帮助初学者理解一个单元测试的各个组成部分。
All application development efforts must provide a comprehensive unit test strategy and accompanying unit test code that can be executed to determine that the build is complete and functional.
所有应用程序开发工作必须提供全面的单元测试策略和附带的可被执行的单元测试代码以确定构建是完整的和有效的。
If the unit test cases cannot be successfully completed, either due to bugs in the application or the lack of unit test code, then the application should not be accepted for performance testing.
如果单元测试案例因为应用程序中的错误或缺少单元测试代码而无法被成功完成,那么应用程序不应该被性能测试所接受。
Many developers use a variant of testing called test-after development (TAD), whereby you write the code and then write the unit tests.
许多开发人员使用称为后测试开发(TAD)的各种测试,你首先编写代码,然后编写单元测试。
As you change code, unit test, and perform UAT, you should identify bottlenecks and implement changes as needed.
当您改变代码、单元测试并执行UAT时,应该识别瓶颈并根据需要进行改进。
Write the unit test before writing code for class it tests.
首先编写单元测试,然后再编写要测试的类代码。
It is reasonable to expect that programmers will unit test their code before adding it to the rest of the project.
要求程序员在将代码加入项目其他部分中时要进行单元测试,这种想法是合理的。
The communication of available functionality was critical since there were only three weeks per iteration to perform system test application design, code, and unit test.
对可用功能的交流是至关重要的,因为每个迭代中只有三个星期是执行系统测试应用程序的设计、编码,和单元测试的。
Upon completing the code and the unit tests, the developer creates a review package consisting of design specifications, code, unit test specifications, and unit test results.
在完成了代码和单元测试之上,开发人员创建一个由设计说明、代码、单元测试说明和单元测试结果组成的评审包。
So the code is "clean and green," according to my simple unit test case — but that's meaningful only if I'm really testing the code thoroughly.
根据前面简单的单元测试用例,这块代码是“干净,绿色”的——但只有在我真正彻底地测试这块代码的情况下这才有意义。
The result is code that is easy to unit test, easy to substitute, easy to maintain, easy to change, etc.
这样得到的代码更易于做单元测试、易于替代、易于维护、易于修改等等。
If a unit test is harder to write than the code it is testing, it might be a functional test.
如果编写单元测试比编写其所测试的代码更难,则它可能是功能测试。
In these cases, either the unit test or the code to be tested is most likely incorrect.
如果是这样,不是单元测试有问题,就是被测试的代码不正确。
A unit test is the initial testing of new and changed code in a module.
单元测试是模块中新代码和变更代码最初进行的测试。
I began by replacing the example code in my unit test which instantiates the task library's classes with example code for my unimplemented DSL and revised it several times until I was satisfied.
我开始将我单元测试中初始化任务库各个类的范例代码替换成我尚未实现的DSL的范例代码,并且修改了数次,直到我满意为止。
We wanted a strong integrated development environment (IDE) to develop and unit test our code.
我们需要一个强大的集成开发环境(IDE)来对我们的代码进行开发和单元测试。
Unit tests often need to test nuanced behavior of the code under test, leading to similar and duplicated situations.
单元测试常常需要测试有细微差异的代码行为,因此涉及到相似和重复的情况。
Simply put, unit testing means writing code to test other code.
简单地说,单元测试是用代码测试代码。
From a parameterized unit test, it automatically produces a traditional unit test suite with high code coverage.
它可以从一个参数化的单元测试中自动生成一个传统的单元测试集,而且有很好的代码覆盖率。
Testing the form validation can also be done in the unit test (Listing 19 shows the form validation test code).
表单验证的测试也可以在单元测试中完成(清单19展示了表单验证的测试代码)。
You can have more than one developer connected to a Unit Test server where your code is running; the number of users you can connect depends on the capacity of your server.
运行您的代码的一个Unit Test同时允许多个开发人员连接;可以连接的用户数量取决于您的服务器的容量。
The need to insulate development teams from changes that occur to subsystems that they depend on during the code and unit test phase of the SDLC.
需要使开发团队避免对子系统进行修改,他们需要在SDLC的编码和单元测试阶段依赖这些子系统。
The code being edited is on the Unit Test feature.
正被编辑的代码位于Unit Test特性上。
Developer Responsible for understanding the requirements described enough to design, write, unit test, and deliver code on assigned tasks in a timely manner. Commenter.
开发员对充分理解需求负责,以设计,编码,单元测试,并以一种准时的方式来交付分配任务的代码。
Unit testing frameworks, such as JUnit, let you test the code that runs on your servers.
单元测试框架,比如JUnit,允许您测试在您的服务器上运行的代码。
It can be started from within a unit test, so all the code runs within the same JVM.
因为能够从单元测试启动JBoss Embeddable EJB3容器,这样所有代码都运行在同一JVM中。
They should provide support for standard version control systems such as Subversion (SVN) and the ability to auto-complete, document, debug, refactor, profile, and unit test all code.
它们应该提供对Subversion (SVN)这样的标准版本控制系统的支持,并支持自动完成、调试、重构、配置所有代码及其文档记录和单元测试。
They should provide support for standard version control systems such as Subversion (SVN) and the ability to auto-complete, document, debug, refactor, profile, and unit test all code.
它们应该提供对Subversion (SVN)这样的标准版本控制系统的支持,并支持自动完成、调试、重构、配置所有代码及其文档记录和单元测试。
应用推荐