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.
有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。
If you fail to take the test, you get zero, and I average the zero in.
如果你没能参加,那即是零分,我算平均分的时候会加入那个零分。
That is all the more reason not to fail the test in Afghanistan.
这就是北约在阿富汗的考验不能失败的重要原因。
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分。
I have this test case set up to fail its verification point.
我将这个测试用例设置为失败通过验证点。
Given the fact that these target values can fail during the benchmarking mode, it helps to plan the test approach at this level itself.
尽管这些目标值可能会在确定基准的过程中失效,但可以帮助规划这个级别本身的测试方法。
Lots of different things could break and cause this test to fail.
很多不同的东西能够中断并且导致测试失败。
So, write just enough code to get the test to compile, run, and fail.
因此,编写足够的代码来使测试进行编译、运行但结果失败。
Calls to unexpected methods cause the test to fail.
调用未预期的方法会导致测试失败。
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.
这种错误可能不会导致您的程序崩溃或者您的测试失败,但是仍然存在内存崩溃的危险。
Many developers fail to test for such scenarios because they don't make much sense.
大多数开发人员通常都不能成功测试这样的场景,因为这没多大意义。
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.
关键是编写一个当方面行为错误或者没有应用到希望它应用的联结点处时会失败的测试。
Calls to unexpected methods do not cause the test to fail.
调用未预期的方法不会导致测试失败。
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.
鉴于没有通过测试的银行需要筹集资金在股市开盘前补充短缺资本,测试结果公布时间正值欧洲股市收盘。
Normal TDD writes only enough code to make a test fail.
标准的TDD只编写能够使一个测试失败的足够多的代码。
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还允许以毫秒为单位设定超时值,一旦响应没有在指定的时间内返回,测试就会失败。
M: I am certain I am going to fail my English test.
M:我肯定我的英语考试不会及格。
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测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
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测试自动化不会捕捉到逻辑错误(虽然每次测试都会失败,而且您会很快发现问题)。
应用推荐