调用未预期的方法会导致测试失败。
如果测试失败,会自动调用调试器。
有“必需的”客户测试失败了?
然后运行这个测试证实测试失败。
快速导航到使测试失败的代码行。
调用未预期的方法不会导致测试失败。
清单7.第一次测试失败?
测试失败时,构建却能成功。
WS - i测试失败源于以下错误。
如果该测试失败,脚本就输出一个警告。
如果这些测试失败,它们将不生成错误。
很多不同的东西能够中断并且导致测试失败。
Lots of different things could break and cause this test to fail.
如果单元测试失败,我就无法整合任何代码。
有程序员测试失败了?
测试失败与否,都不要把它丢掉。
造成测试失败的另一个常见原因是组件查询失败。
Another typical cause for test failures is component-lookup failures.
作为第二个测试案例的一部分,您将测试失败场景。
As part of the second test case, you test the failure scenario.
由于尚没有为系统中的相应部分构建代码,测试失败。
The test fails because you have not yet built the code for that part of your system.
问:出于好奇心,请问您曾经参加认证测试失败过吗?
Q: Just out of curiosity, have you ever failed a certification test?
如果测试运行的时间超过指定的毫秒数,则测试失败。
If the test takes longer than the specified number of milliseconds to run, the test fails.
这些编码使WS - i测试失败后得到以下错误信息。
These encodings failed the WS-I tests with the following error message.
因此第二种方法就是,每当有测试失败,就设置一个属性。
Therefore, the second approach is to set a property if any of the tests fail.
只要有一次测试失败无法修正就意味着您不应该进行集成。
A single failing test that you can't fix means you should not integrate.
这个测试失败了。
如果您在某次测试时忘了这样做,则会导致后面的测试失败。
If you miss it in one test, then it can cause a failure in a later test.
即使没有任何问题,有时第一次尝试运行时也会有些测试失败。
Sometimes the tests fail on the first try even when nothing is wrong.
标准的TDD只编写能够使一个测试失败的足够多的代码。
如果该测试失败,则它使用parent关键字指派给父方法。
If that test fails, it delegates to the parent method using the parent keyword.
如果测试失败时构建还能通过,就会提供关于安全性的一种错感。
Builds that pass, even though tests fail, provide a false sense of security.
如果它们相等,则认为测试成功;如果它们不相等,则测试失败。
If they are equal, the test will be considered successful; if they are not equal, the test will fail.
应用推荐