Now, we can call the reset method to start off each test run to ensure we are going through the initialization code for the singleton object on every test run.
现在,我们可以在每次测试之前调用reset方法,保证我们在每次测试过程中都会先执行singleton对象的初始化代码。
Writing a test-cleanup aspect to automatically reset aspects like the one in the example after each test is conceptually simple, but the details are beyond the scope of this article.
编写一个测试清理方面,自动在每次测试后像在例子中那样重新设置方面从概念上来说是简单的,但是其细节超出了本文的范围。
If you use a strict test process where you can reset an environment back to a "zero state" before each run, the PWH data can be very valuable in proving reproducible results for a test.
若在所使用的严格测试过程中可以在每一测试开始前将环境重置回“零状态”,则PWH数据在验证某一测试的重复结果中可能非常有价值。
The tearDown function provides the test author with his or her opportunity to clean up or reset the test fixture.
tearDown函数则给测试者提供了另外一个机会,可以去清除或者重置测试夹具。
To restart a test from test Runner, you can reset it and immediately run it again.
若要从测试执行器重新启动测试,可以重设测试,然后立即重新执行它。
After you have completed a manual test and saved the test results, you might want to reset the test to know that you must run it again.
当您完成手动测试并储存测试结果之后,可能想要重设该测试以确定重新执行。
The call points of non-reusable start-up elements shall be provided with specific test means, and the simulate alarming and reset test is made under conditions of never smashing the start-up elements.
启动零件不可重复使用的报警按钮应有专门测试手段,在不击碎启动零件情况下进行模拟报警及复位测试。
Whether you have saved the test results determines how you can reset the test to be run again.
是否已储存测试结果会决定可以如何重设测试以重新执行。
Whether you have saved the test results determines how you can reset the test to be run again.
是否已储存测试结果会决定可以如何重设测试以重新执行。
应用推荐