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将一件商品添加到购物车中。
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.
但这不意味着不允许任何能够加载所有模块的全部单元测试的测试套件模块文件的存在。
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。
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模块附带几个代码片段,其中之一可以为代码快速构建一个单元测试框架。
As a result, you see lots of tests for things that are easy to test (equals and toString tend to pop out; see Listing 1), and the real logic of the unit under test is ignored.
结果,您会看到对容易测试(equals和toString往往很突出,参见清单1)的内容进行多次的测试,而被测单元的真正逻辑却被忽略了。
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传统的单元测试。
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组件进行单元测试的基础测试类。
It has extensive unit tests (in part because I wrote it for a discussion of test-driven development).
它具有丰富的单元测试(因为我编写的目的是用于探讨测试驱动开发)。
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.
构建过程监控关于提交的活动开发线,在一个较宽松的限期自动地执行集成构建和单元测试。
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中,我们在生成的单元测试代码里加入注释来帮助初学者理解一个单元测试的各个组成部分。
For example, to unit test an object that USES a database, it may be burdensome to install, configure, and seed a local copy of the database, run your tests, then tear the local database down again.
例如,要单元测试一个使用数据库的对象,安装、配置和发送本地数据库副本、运行测试然后再卸装本地数据库可能很麻烦。
In a unit test case, for example, the execution environment for the object is the test case itself, and the test setup code is tasked with satisfying the dependencies directly.
例如,在单元测试用例中,对象的执行环境是测试用例本身,所以测试设置代码有责任直接满足依赖项。
It would be a lot easier if I could just select a BDD Unit Test project and have all I needed for the project already available after the project was created.
如果我可以简单地选定一个BDD的单元测试项目,然后项目创建后我就拥有了所有项目所需的文件,那就容易多了。
It would be a lot easier if I could just select a BDD Unit Test project and have all I needed for the project already available after the project was created.
如果我可以简单地选定一个BDD的单元测试项目,然后项目创建后我就拥有了所有项目所需的文件,那就容易多了。
应用推荐