We have three tests in our test suite for this article, one for each operation in the API; the contents of these tests is shown in Figure 1 below.
在这篇文章的测试套件中我们有三个测试,在API中每个操作都有一个测试;这些测试的内容显示在下面的图1中。
The test client allows you to examine the input and output parameters associated with an executed operation.
测试客户端允许您检查与已执行的操作相关联的输入和输出参数。
At a different point in the code, perhaps where operations are dispatched or at the start of each operation, a similar test is made.
在该代码中的不同点,也许是在分派操作的地方或每个操作的开头,分别执行了一个相似的测试。
The time is recorded for each individual operation and averaged at the end of the test run.
对每项单独的操作,记录其时间,并在测试结束后计算其平均值。
Since builds can be slow, the builder should test that the user has not cancelled the operation.
由于构建过程可能会很慢,因此构建器应该测试用户是否已取消了该操作。
As discussed earlier, it is likely in any sizeable test operation that a number of the tests contained within the regression suites do not produce reliable results.
如早先讨论的,包含于回归套件中的许多测试在任何规模的测试操作中可能不能生成可靠的结果。
At appropriate places throughout the code, the programmer writes program logic to test whether the current user is authorized to perform an operation.
在整个代码中的适当地方,程序员编写程序逻辑来测试当前用户是否有权执行某个操作。
With a functional test, you can test both the operation and the appearance of GUI objects.
使用功能测试你可以测试操作和图形用户界面对象的外观。
In other words, the only way the DOH knows an async test passed or failed is if an operation is invoked on the Deferred.
换句话说,doh得知异步测试是通过还是失败的惟一途径就是:操作是否在延迟操作上被调用了。
In order to test the time it takes for the GUI to render after an operation, a few things are required.
为了测试完成一次操作之后恢复GUI所需要的时间,您需要执行一些操作。
Before executing that operation, the program must test for authorization: is the current user allowed to do the operation?
在执行该操作前,程序必须测试授权:当前用户是否允许执行该操作?
A rule set can achieve the same results in a single operation, and if the same test is used in more than one rule in a rule set, it is still only evaluated once.
规则集可在同一操作中取得相同的结果,并且,如果规则集中多个规则采用了同一测试,该测试也仅评估一次。
Unevenly distributed data is created by improper warming up or unbalanced operation during the test.
在测试期间,不适当的初始化或者不均衡的操作都可能导致数据的不均匀分布。
Sump pits are very common in Canada and if you have one it's a good time to test its' operation and install the discharge hose outside (away from your house of course).
集水坑在加拿大非常常见。如果你家有集水坑,现在需要检查一下其运行情况,在外面装上泄水软管(当然要在你家外面喽!)
A test case can be an operation or a behavioral model (Interaction, State Machine, or Activity).
测试用例可以是一种操作或一种行为模型(交互图、状态机图或活动图)。
While individual x86 machines are often fairly stable when running for a year or more at a time, other systems may be somewhat better engineered to stand the test of constant operation.
虽然单独的x86机器通常相当稳定,可以一次运行一年或更长时间,但是其他系统可能设计得更好,能够承受持续操作的测试。
For example, the server perspective is designed with the server or unit test environment operation in mind.
例如,Server透视图的设计就考虑了服务器或单元测试环境中的操作。
You want to test your module by calling an operation in component a and letting the calls to the other two components occur.
您需要通过在ComponentA中调用操作并允许调用其他两个组件来测试您的模块。
We're going to begin by creating a test invoking the getDetailsForPostCode() service operation with what we expect to be a valid PostCode and then check the response data.
我们首先通过创建一个调用 getDetailsForPostCode()服务操作的测试,并预期该操作是有效的PostCode,然后检查响应数据。
This command is used to request the basic information of the SCSI device and is often used as a ping operation to test to see if the SCSI device is online.
这个命令用于请求SCSI设备的基本信息,并且常常用作ping操作,以测试scsi设备是否在线。
You can do a similar operation to test whether a value is in the list of data values returned by calling the values method.
可以使用相似的操作检查某个值是否在调用values方法所返回的数据值列表中。
By clicking the test Adapter TAB at the bottom of the canvas containing the Web service description, you can test the operation by editing the request document and clicking Invoke Web service.
通过单击位于(包含Web服务描述的)工作区底部的TestAdapter附签,可以测试操作,即编辑请求文档并单击Invoke Web Service。
Only a few CSPV plants are in operation, including a 500-kilowatt test plant from the company SolFocus in Spain, but more are on the way.
只有几个CSPV电厂在运营,包括西班牙索福克斯公司建造的一个500千瓦的试验电厂,但更多电厂正在建设当中。
The operation is the first serious test of Barack Obama's strategy in Afghanistan and Pakistan.
这次行动是对奥巴马阿富汗和巴基斯坦战略的首次严峻考验。
The test suite is made up of test cases, based on one of two available test patterns: operation-level testing or scenario based testing.
测试套件由测试用例构成,并基于以下两种可用的测试模式之一:操作级别的测试或基于场景的测试。
Nor will the test foster closer co-operation between Western and Chinese civilian space programmes.
这次试验还会使西方国家与中国在民用太空领域的合作降温。
The researchers are currently working on a pilot operation to test and refine their new method.
研究人员目前正在检测与改进新方法。
To test the module, you select an operation of a component, enter input values, and then click Continue.
要测试模块,您可以选择组件的操作,输入输入值,然后单击Continue。
It is important to test the full round-trip operation, meaning from workflow initiation, through approval message routing and handling in Lotus Domino, to processing of an approval decision in SAP.
测试完整的操作流程非常重要,即从工作流发起开始,接着在LotusDomino中发送和处理审批消息,然后再在SAP中处理审批决策。
The 'waitfor' operator allows QA engineer to synchronize operation of test script with desirable state of components of Application Under Test.
QA工程师可以通过“'waitfor'”操作让测试脚本与被测程序的组件状态同步。
应用推荐