For each UI gesture defined in the specification, create a line in your unit test.
对于规范中定义的各个UI动作,在单元测试中创建一行说明。
For every new unit test, the framework creates a new test fixture.
对于每个新的单元测试,框架创建一个新的测试装备。
The developers drafted a unit test specification for each test.
开发人员为每一个测试起草一个单元测试说明。
If there is a new configuration option added, there should be a unit test for that option.
如果添加了新的配置选项,那么就应该添加针对该选项的单元测试。
NOTE: We strongly recommend that you create a unit test for your unit test component (see figure 1).
注意:在此强烈建议为您的单元测试组件(见图1)创建一个单元测试。
It provides a graphical editor for assembling business processes, and a unit test environment in which processes can be executed and debugged.
它为组装业务流程提供了一个图形化的编辑器和一个单元测试环境,可以在这个环境中执行和调试流程。
Automatically generate tests for a unit under test.
对被测试的单元自动生成测试。
For example, a shopping cart unit test might test that you can add an item to a cart through the model API.
例如,购物车单元测试可以测试出您可能通过模型API将一件商品添加到购物车中。
In general, there should be a unit test for every public method of your class.
一般而言,类的每个公共方法都应有一个单元测试。
For example, a database connection for a particular unit test might record the query while always returning the same hardwired result.
例如,虽然某一特定单元测试的数据库连接始终返回相同的硬连接结果,但可能会记录查询。
That said, it does not mean that there cannot be a test suite module file that loads all the unit tests for all modules.
但这不意味着不允许任何能够加载所有模块的全部单元测试的测试套件模块文件的存在。
Therefore we can use a base test class for all Wicket-related unit tests.
因此,我们可以为所有Wicket相关的单元测试创建一个测试基类。
Question: WebSphere Integration Developer provides an overall authoring experience for developers and integration specialists, including a unit test and debugging environment.
问:WebSphereIntegrationDeveloper为开发人员和集成专家提供全面的创作体验(包括单元测试和调试环境)。
This article shows you how to develop a unit test suite for legacy code that's never been tested, using jEdit as an example.
本文使用jEdit 做为例子,向您展示如何为从未测试过的遗留代码开发一个单元测试套件。
As with the Lotus Notes implementation, when complete, you can add this component to your palette, and then create a unit test for it.
完成LotusNotes实现后,可以将这个组件添加到面板,随后为其创建一个单元测试。
As you can see, the unit test for a domain class now (with Grails 1.1) extends GrailsUnitTestCase.
可以看到,现在对一个域类的单元测试(在Grails 1.1中)扩展了GrailsUnitTestCase。
For simplicity, this example is a unit test of a stateless session bean.
简单地说,这个例子是一个无状态sessionbean的单元测试。
A test framework for using JUnit to write unit tests for your client application.
一个使用JUnit为客户机应用程序编写单元测试的测试框架。
The Pydev Eclipse module comes with several code snippets, including one for rapidly creating a unit test framework around which to build your code.
Py devEclipse模块附带几个代码片段,其中之一可以为代码快速构建一个单元测试框架。
A process for unit test implementation.
用于单元测试的实现流程。
For example, Listing 1 defines a unit test that USES JUnit to verify a stubbed out data class called BeerDaoStub.
例如,清单1定义了一个单元测试,该测试使用JUnit来验证一个叫做BeerDaoStub的存根数据类。
For a while now I've been writing RSpec specifications to test Expectnation, rather than "traditional" Rails unit tests.
最近,我已经用RSpec规范来测试Expectnation,而放弃了Rails传统的单元测试。
The included project interchange file also contains a unit test case for the AddressCSV_To_Address map.
所包括的项目交换文件还包含一个用于AddressCSV_To_Address映射的单元测试用例。
To run this unit test, create a run configuration for the unit test class as a test: : unit type.
要运行这个单元测试,应该为单元测试类创建一个Test:Unit类型的Run配置。
A test framework to write unit test for testing gestures (integrated with Visual Studio test).
测试框架,从而为测试手势(与VisualStudioTest整合)编写单元测试。
JsfTestCase: This is the base test class for unit tests for Servlet and JSF components in a web application.
AbstractJsfTestCase:这是对web应用的Servlet和JSF组件进行单元测试的基础测试类。
One of the requirements for the new test runner and C + + unit testing framework is support for 200,000 tests in a single solution.
对于新的测试运行器和C+ +单元测试框架的一项需求就是,要在一个解决方案中支持200,000项测试。
To refine your unit test further, you can assert that the validation failed for a specific constraint on a specific field, as shown in Listing 8.
要进一步细化单元测试,您可以断言验证会因为特定字段上的特定约束而失败,如清单8所示。
What is really cool, though, is that the unit tests function as a test suite for vendors.
但是,真正“炫酷”的地方在于这些单元测试的作用是作为面向供应商的一个测试套件。
The build process typically monitors the Active Development Line for commits and, if found, automatically executes, after a grace period, an integration build and unit test.
构建过程监控关于提交的活动开发线,在一个较宽松的限期自动地执行集成构建和单元测试。
应用推荐