The tests need to test the error pathways as well.
这些测试还需要对错误路径进行测试。
You can choose to do nothing, issue a test log error or warning, or exit the test.
您可以选择什么都不做,处理一个测试日志错误或者警告,或者只是退出测试。
When a build is broken, I want to know immediately so I can take the proper action to fix it — whether that be a compilation error, test failure, or even an increase in overall complexity.
一个构建发生故障时,我希望能够立即知道这一情况,以便就能够采取适当的行动来解决这一问题——不论那是编译错误、测试故障甚或是整体复杂性的增加。
This article explains how you can capture the problems view and the error log of the application under test, filter them, and customize them to determine problems and identify defects.
本文向您解释了,怎样获得问题视图以及测试程序的错误日志,怎样筛选它们,以及定制它们以决定问题和分析缺陷。
Next, we'll test error reporting on your server.
接下来,要在服务器上测试错误报告。
But that does not rule out the possibility that a small quantity of the gas, calculated to fall within that error margin, was diverted to test some hidden centrifuges.
但这并不排除一小部分此种气体被移作他用的可能性,即取走一些经过计算不超过误差范围的气体用于测试隐匿的离心机。
These test utilities are actually rather useful when you need to debug some subtle error.
实际上,当您需要调试一些细微的错误时,这些测试实用工具更有用。
The developers often focused on error conditions in their tests, whereas unit tests should test several aspects of software.
开发人员通常将重点放在他们测试中的错误条件上,然而单元测试应该测试软件的几个方面。
These features speed up manual test execution and improve results by reducing human error.
这些特性加速了人工测试的执行并通过减少人的错误来改善结果。
Like the previous set of test operators, comparison test operators are a handy way to perform error checking or to test values against another value.
与前一组测试操作符一样,比较测试操作符是执行错误检查或根据另一个值测试值的简便方法。
The test data needs to be reflective of application processing constraints as well as error and boundary conditions.
测试数据必须能够反映应用程序处理限制、错误和限制条件。
Throwing an exception not only unwinds the test but also signals an error.
抛出异常不仅要展开测试,还将报告错误。
The results matched those from the previous test, "ruling out one potential source of systematic error," said CERN.
CERN还宣称,测试结果与以往测试的结果一致,“排除了一个潜在的系统错误源。”
If the error is encountered during the execution of a test suite, a link to the test suite report is printed.
如果在测试套件执行期间遇到错误,则输出连接到测试套件报告的链接。
Now, let's add a second test to assert valid subject data and a third test to see whether the expected error message is encountered when we specify an incorrect TAG length.
现在,再添加两个测试,一个测试检查有效的主题数据,另一个测试检查在指定不正确的 TAG 长度时是否显示期望的错误消息。
Doing so will give you a margin of error in the definition of the test harness.
这样做将使您获得测试工具定义中的误差幅度。
Often what you should test is the relative error in terms of ULPs.
通常,就ulp进行测试时考虑的是相对错误。
Remember, if you delete an emulator for a component that isn't implemented or an import that has no binding, you'll get an error when you run the test.
请记住,如果删除未实现组件的模拟器或没有任何绑定的导入,则在运行测试时会遇到错误。
Finally, it assists with data entry and verification during test execution to reduce human error.
最后,它还可以在测试执行过程中帮助数据输入和验证,从而减少人工差错。
Every error case still spends design, implementation and test budget that could have been spent elsewhere.
每种错误情况仍然花费设计、施行和测试的预算,而在这上面花费的预算原可以花在其它地方。
If the test method does not run as anticipated, we will get an error (and a traceback describing the error).
如果测试方法没有按预期运行,我们将得到一个错误(以及描述这个错误的回溯)。
So the UI test automation will not catch the logic error if the application has the wrong method wired to a button click event (although every test would fail and you'd find the problem quickly).
所以如果应用程序为按钮单击事件关联了错误的方法,UI测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
Also, the test in Line 13 will fail to detect an error because the result of the call will not be an empty string.
第13行中的检查也无法探测到错误,因为调用的结果不是空字符串。
This could be used for the purpose of testing selpg, when you may only want (for some test case) to see the error messages, not the normal output.
这可作为测试selpg的用途,此时您也许只想(对一些测试情况)检查错误消息,而不想看到正常输出。
If you have gaps in test coverage you will also have gaps in Purify error checking.
如果您在测试覆盖范围中有漏洞,那么您在Purify错误检验中仍然会有漏洞。
The severity field shows the severity of any problem found during the test (error, warning, or information).
区域Severity显示了测试期间发现问题的严重程度(错误,警告或者信息)。
The third tests the 406 error condition. Below is the test case for atom.
第三种方法是测试406错误情况。
Changing the return type to float, for example, isn't flagged as an error because an int in the test method's return statement is automatically promoted to float.
如果将返回值改为float,这不会被标记成错误,因为test方法返回语句中的int会自动转换成float。
At least after I installed that, I got past an import exception in Twisted's test_ssl.py (but only so far as what appears to be an error in the test script).
我将其安装完之后,看到了在Twisted的test_ssl . py中定义的一个导入异常(不过看起来是测试脚本中的错误)。
If wrapping was not done, the test would still fail on an error, but all the DOH would report is the test timed out.
假设没有执行包装,那么测试还将在错误出现时停止,但DOH报告的内容却是测试超时。
应用推荐