我鼓励您使用这些框架,利用它们的力量来生成单元测试的结果。
I encourage you to use these frameworks, given their power to produce results for unit testing.
可以指定一个可选的字符串长度单元来指明在哪些单元中表示函数的起始位置和结果。
An optional string length unit can be specified to indicate in what units the start and result of the function are expressed.
我也看到过把气泡应用到其他工具,如性能分析工具、自动化缺陷查找工具、单元测试结果等等。
I can also see applying bubbles to other tools such as profilers, automatic bug finding tools, unit testing results, and so on.
在实践中,数据流变量提供一种不错的方式来将值从一个线程传输到另一个线程,且它们通常用于传输多线程单元测试中的结果。
In practice, dataflow variables provide an excellent way to communicate values from one thread to another, and they are commonly used to communicate results in multithreaded unit tests.
这一结果在当你尝试编写单元测试的时候是很痛苦的,而且从长远来看也极大地限制了灵活性。
This results in a lot of pain when trying to write unit tests, and longer term it greatly limits the flexibility.
测试覆盖工具通常可以很容易地添加到确定的单元测试过程中,而且结果可靠。
Test coverage tools are generally easy to add into an established unit testing process, and the results can be reassuring.
测试一个用户界面组件需要进行单元执行、数据输入和结果评估。
Testing a user interface component requires execution of the unit, data entry, and evaluation of the results.
例如,虽然某一特定单元测试的数据库连接始终返回相同的硬连接结果,但可能会记录查询。
For example, a database connection for a particular unit test might record the query while always returning the same hardwired result.
这是一个单元数,表示没有什么东西超出了度量,但可以比较基于同样基准的结果。
It is a unit count that means nothing outside of its benchmark, but can be used to compare results within the same benchmark.
按这种方式构建的回归测试套件包含一套单元测试和一个测试驱动程序,这个程序运行测试并报告结果。
A regression suite built with this philosophy will then have a collection of unit tests and a test driver program that runs the tests and reports the results.
在此阶段,您需要为下一个步骤中的单元测试创建仪表板,以确保发射事件、做出计算并显示结果。
At this stage, you need to create the dashboards for unit testing in the next step to ensure that events are emitted, calculations are made, and results are displayed.
构建过程签出所有代码,构建整个应用程序,运行所有单元测试,并向开发人员报告结果。
The build process checks out all of the code, builds the entire application, runs all of the unit tests, and reports the results to the developers.
此函数与DB2 中的LENGTH 函数类似,并拥有一个可选的字符串长度单元,可以用来表示结果。
This function is similar to the LENGTH function in DB2 and has an optional string length unit, in which the result can be expressed.
最终的结果是,这两个计算单元都完全信任彼此。
对比图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.
结果,布伦特佩里,该公司的老板说,这种电池单元比使用磷酸铁制作的要强22%以上。
The result, says Brent Perry, the company's boss, is that the cells are 22% more powerful than ones that use iron phosphate.
使用CODEUNITS16或CODEUNITS32计算代码单元得到的结果是相同的,除非使用了增补字符和代理对。
Counting code units using either CODEUNITS16 or CODEUNITS32 gives the same answer, unless supplementary characters or a surrogate pair is involved.
单元测试的目标是测试应用程序底层代码的功能,保证它们执行后产生正确的结果。
The goal is to test the functionality of the underlying code of the application to ensure that the correct results are provided upon execution.
由于等式中的一半是静态的,并且只有当一个单元被升级或替换时结果才会改变,因此处理器繁忙时间所占百分比可以很好地指示当前被使用的资源。
Because half of this equation was static and only changed when a unit was upgraded or swapped out, the processor busy number was a good indication of the resources being used.
导致一些结果,包括一些单元彻底损坏,更多的单元则给出变化的结果。
Results include some units that fail outright and far more that simply give variable results.
有时人们稍微改了改代码,结果10%的单元测试就不能用了。
Sometimes you will make a change to your code that, somehow, breaks 10% of your unit tests.
每个测试框架都要为开发人员提供检查单元测试结果的方法,DOH也不例外。
Every test framework needs to supply you with a method to check the outcome of a unit test and the DOH is no exception.
浏览器测试的运行程序提供了两个途径来显示测试结果:一个是可视化结果,另一个是单元测试统计数据。
The browser test runner provides two ways to view the unit test results: visual results and unit test statistics.
使用ObjectFinder,选择列表中的第一本书——或者更精确地说,搜索结果表格中的第一个单元。
Using the Object Finder, select the first book in the list - or more accurately, the first cell in the search results table.
当以迭代方式迁移系统时,开发人员应该将DB 2中已迁移的函数与mysql源系统进行对比,确保特定的工作单元运行结果与预期的一样。
As you iteratively migrate the system, developers should compare the migrated function in DB2 against the original MySQL source system to ensure that specific units of work performed as expected.
思考在Web页面核查Purify测试结果总结的简单,每次执行您的测试单元时这个页面就会更新。
Think about the simplicity of checking the Purify test results summary on a Web page that gets updated automatically every time your test suite is executed.
单元测试的目的是测试一段代码的运行结果是否正确。
第一个函数返回每个单元格的边界样式,而第二个函数返回一场比赛结果(如果存在的话)。
The first function returns the border style for each cell, while the second function returns the results (if any) for a given matchup.
第一个函数返回每个单元格的边界样式,而第二个函数返回一场比赛结果(如果存在的话)。
The first function returns the border style for each cell, while the second function returns the results (if any) for a given matchup.
应用推荐