如果测试失败,会自动调用调试器。
快速导航到使测试失败的代码行。
测试失败时,构建却能成功。
WS - i测试失败源于以下错误。
如果这些测试失败,它们将不生成错误。
如果单元测试失败,我就无法整合任何代码。
由于尚没有为系统中的相应部分构建代码,测试失败。
The test fails because you have not yet built the code for that part of your system.
如果测试运行的时间超过指定的毫秒数,则测试失败。
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.
只要有一次测试失败无法修正就意味着您不应该进行集成。
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.
如果它们相等,则认为测试成功;如果它们不相等,则测试失败。
If they are equal, the test will be considered successful; if they are not equal, the test will fail.
Jester对类进行了11项修改,而只有一项造成测试失败。
Jester made 11 changes to the class, and only one caused the tests to fail.
如果测试失败,就报告错误消息,指出故障点,同时程序执行中断。
If a test fails, an error message is reported, indicating the point of failure, and program execution halts.
当一个测试失败或者得到意外的结果时,最好先去读一读日志文件。
Reading the log file is the best starting point for understanding a test that failed or produced surprising results.
一旦测试失败了,就需要测试人员的智慧来弄明白到底发生了什么。
Once there is a failed test then it requires sapience on the part of the tester to understand what really happened.
当您查看测试日志并发现测试失败时,可能会在这个时候提交缺陷。
When you view the test log and you find that a test has failed, it is possible to submit defects at that stage.
如果mock没有收到调用,那么它就会在销毁时自动使测试失败。
If the mock does not receive the call, it will fail the test automatically during tear down.
注意测试失败时FEST - Swing添加到桌面截图中的链接。
Note the link FEST-Swing added to the screen shot of the desktop, taken at the moment of the test failure.
如果执行该测试方法所花的时间多于1000毫秒,则测试失败。
If the test method happens to take longer than 1000 milliseconds to execute, it fails.
在常见情形下,这些变化对于被测应用中的对象来说,会导致功能测试失败。
In typical circumstances, these changes to the objects in the application under test have cause the functional test run to fail.
如果一次测试失败了,您有两个选择,修正它并集成,或者不集成。
If a test fails, you have two choices: fix it and integrate, or don't integrate.
如果在一个单元测试中有任何类型的异常被抛出,DOH就会宣布整个测试失败。
If any type of exception is thrown in a unit test, the DOH declares the entire test as failed.
请注意,有时测试失败仅仅是因为上一个测试的失败,这种失败实际上并不重要。
Note that sometimes the test that fails is not actually important and is only being run because a previous test failed.
第四,出于相似的原因,当测试失败的机会差不多时,把最快的测试放在第一位。
Fourth, for similar reasons, when tests are roughly equally likely to fail, put the fastest tests first.
这种错误可能不会导致您的程序崩溃或者您的测试失败,但是仍然存在内存崩溃的危险。
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.
haltonfailure属性被设为true,以便让构建过程在测试失败时停止。
The haltonfailure attribute is set to true so that the build stops on test failure too.
FEST - Swing的一个非常有用的特性是它能够在测试失败时摄取桌面截图。
A useful feature of FEST-Swing is its ability to take a screen shot of the desktop at the moment of a test failure.
图6显示了GUI测试失败后的一个JUnitHTML报告。
图6显示了GUI测试失败后的一个JUnitHTML报告。
应用推荐