当希望对SPE代码或算法进行单元测试或获取有关它们的分时信息时,这可能就足够了。
When you want to do unit tests on SPE code or algorithms or get timing information on them, this is probably enough.
请参阅附录,以了解更多关于单元测试的信息。
单元测试人员访问实际用例之外的,与被分解的信息相沟通的工件是十分重要的。
It is very important the unit tester has access to artifacts that communicate decomposed information, outside of the actual use case.
类图交付单元测试所需的构架信息。
Class diagrams deliver the structural information unit testers need.
对比图13和图7中的单元测试结果,并观察两种情况下如何描述日期信息数组。
Compare Figure 13 with the unit test result in Figure 7, and observe how the array of the date information is represented in each case.
一些资源提供了对于团队来说在定义角色和单元测试规范的样子的有用的信息被列在本文后面的“参考资料”。
Some resources that provided useful information for the team in defining the role and appearance of unit test specifications are listed later under "References and Related resources."
按照单元测试的术语,这称为模拟对象(mock object),更多信息参见参考资料中的链接。
In unit testing language, this is called a mock object (see Resources for more information).
当从单元测试中返回一个doh.Deferred对象时,必须捕获异步调用中产生的所有错误信息并把它们传递给对象的errback方法。
When a doh.Deferred object is returned from a unit test, you must catch all errors from the asynch call and pass them to the object's errback method.
这些信息可以得到评审和报告,帮助您识别,代码是否需要得到单元测试认证,以及单元测试成功执行的程度。
This information can be viewed and reported on, helping you identify if your code needs unit-test authoring and how successfully running the unit testing has been.
参见参考资料中的链接了解关于JUnit和单元测试的更多信息。
See the links in Resources to learn more about JUnit and unit testing.
提供有关如何定义单元测试以验证数据库对象的行为的信息和相关主题的链接。
Provides information and links to additional topics about how you can define unit tests to verify the behavior of your database objects.
数据库项目生成属性中指定的连接信息不会用于此任务,因此您可以针对同一个数据库的不同实例来运行不同的单元测试。
The connection information that is specified in the database project build properties is not used for this task, so you can run different unit tests against different instances of the same database.
积极的,消极的,或模糊的单元测试的信息吗?
有没有一种办法来沉默了错误信息是单元测试?
Is there a way to silent raised error messages just for unit testing?
如果在执行单元测试时部署数据库,则将使用单元测试配置中指定的连接字符串信息来创建数据库。
If you deploy a database when you perform unit tests, the database is created by using the connection string information that is specified in your unit test configuration.
如果在执行单元测试时部署数据库,则将使用单元测试配置中指定的连接字符串信息来创建数据库。
If you deploy a database when you perform unit tests, the database is created by using the connection string information that is specified in your unit test configuration.
应用推荐