When you fail a test, it's better to tell your mom the truth rather than find out another way.
考试不及格时,你最好告诉你妈妈真相,而不是动其他心思。
These tests don't necessarily need to fail first (although a failure when you think a test should pass is pure gold, because you've found a potential bug).
这些测试不一定需要首先采用失败测试的形式(但是,如果在认为测试应该通过时测试却失败了,这是很有价值的,因为这意味着找到了一个潜在的 bug)。
But firms will be penalised if they fail to drill the promised test Wells.
但是,如果这些公司钻探不了约定的试验井,将会受到惩罚。
Sometimes it's simplest to have a human sit in front of the program and mark each test as pass or fail.
有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。
Scientists don't yet know why dogs fail this test, but it may be because "we train them to look at our eyes and face and not to follow our gaze," says Range.
科学家们现在还不知道为什么狗反而会在测试中失败,兰奇认为可能是因为“我们训练狗注视我们的眼睛以及面部,而不是追随视线。”
If we had to decide - on this test alone — forgetting your quizzes, forgetting your homework, - on this test alone — the dividing line between pass and fail would be 65.
如果我们必须根据,这一次考试决定-,忽略平时小测验,忽略你们的家庭作业,只看这次考试-,那么及格线,会是65分。
Given the fact that these target values can fail during the benchmarking mode, it helps to plan the test approach at this level itself.
尽管这些目标值可能会在确定基准的过程中失效,但可以帮助规划这个级别本身的测试方法。
That kind of off-by-one error might not cause your program to crash or your test to fail, but there is still memory corruption going on.
这种错误可能不会导致您的程序崩溃或者您的测试失败,但是仍然存在内存崩溃的危险。
Should the budget or schedule fail to cover the entire test suite, less critical use cases are omitted.
预算或者时间表如果没有覆盖整个测试单元,那个就会省略一些关键的用例。
The key is to write a test that will fail if the aspect misbehaves or does not apply to the join points you intend it to.
关键是编写一个当方面行为错误或者没有应用到希望它应用的联结点处时会失败的测试。
In typical circumstances, these changes to the objects in the application under test have cause the functional test run to fail.
在常见情形下,这些变化对于被测应用中的对象来说,会导致功能测试失败。
This is the most reliable way to find components in a test; it guarantees that component lookup will never fail, even if the GUI's layout changes in the future.
这是在一个测试中查找组件最可靠的方式;它保证组件查找从不失败,即使GUI的布局在将来会改变。
People who fail the test become ineligible for welfare for a year, though this is dropped to six months if they prove that they have successfully completed drug treatment (which they must pay for).
未通过检测的人一年内不能享受任何福利待遇,如果他们能够证明自己已经成功戒掉毒瘾(接受戒毒治疗需付费)的话,这一期限将缩减为六个月。
The results will be released when European markets are closed, giving banks that fail the test time to raise funds to fill their capital shortfall before markets re-open.
鉴于没有通过测试的银行需要筹集资金在股市开盘前补充短缺资本,测试结果公布时间正值欧洲股市收盘。
Meanwhile, another new test, described here, claims to predict when a women's ovaries will start to fail.
另外一项新的测试方法则宣称能预测女性的卵巢从何时开始衰竭。
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行中的检查也无法探测到错误,因为调用的结果不是空字符串。
The DOH also allows you to specify a custom timeout in milliseconds that will fail the test if a response is not returned within the specified time.
DOH还允许以毫秒为单位设定超时值,一旦响应没有在指定的时间内返回,测试就会失败。
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测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
Happy path tests don't test the parts of the system most likely to fail (the sad paths).
愉快路径不测试系统的错误部分(不愉快路径)。
Pharmaceutical companies are using heart cells grown from iPSCs to test drugs for cardiac side effects, a common reason that promising drugs fail.
医药公司使用由万能干细胞生长而成的心脏细胞做心脏病药物的副作用测试,副作用是很多看起来很有希望的药物最终未能成功的一大原因。
The default timeout value for asynchronous tests is 500 ms, or half a second, so many times it's a good idea to explicitly specify a longer timeout value so your test does not fail.
异步测试的默认超时值是500ms,也就是半秒,所以,很多时候,最好是显式地指定一个更长的超时值,这样一来,测试就不会失败。
Else code block is a simple logical crossroad that helps show why the test would fail or pass if one path - and not another - is taken, according to test expectations.
else代码块是一个简单的逻辑分支,根据测试期望说明选取一条路经——而不是另一条路经——之后测试将失败(或通过)的原因。
The results showed that 3 to 4-year-olds tended to fail the test by pointing to the actual position of the chocolate rather than where Maxi thought it was.
结果显示,3到4岁的孩子一般不能通过这个测试,他们会回答巧克力实际的位置,而不是Maxi以为巧克力在哪。
This is what indirectly causes the testDataLayer() test case (from Listing 3) to fail, by the way.
这将间接导致 testDataLayer()测试用例(如清单3所示)失败。
In JUnit 4, if your test suite consists of 1000 tests and 3 of them fail, you'll likely be forced to rerun the entire suite (with fixes).
在JUnit4中,如果测试套件包括1000项测试,其中3项失败,很可能就会迫使您重新运行整个测试套件(修改错误以后)。
Do not replace or remove these three lines, or the WebSphere Test Environment may fail to start up properly.
切勿替换或除去这三行,否则WebSphere测试环境可能无法正确启动。
Only 30% of apprentices pass the test -which is not to say that the rest die by eating their fugu -they can fail in earlier parts of the test.
只有38%学徒通过这个测试——这并不是说剩下的死于吃他们自己宰杀的河豚——他们是在之前的测试就没能通过。
You can use the fail method to force a test case to fail, for example if you want to force a timeout of an operation.
您可以利用fail方法强迫这个测试用例失败,例如您想要迫使一个操作暂停。
You can use the fail method to force a test case to fail, for example if you want to force a timeout of an operation.
您可以利用fail方法强迫这个测试用例失败,例如您想要迫使一个操作暂停。
应用推荐