While this metric is of some value, in assessing the success of a stress test run, this metric reveals only a partial story of the larger test run.
当这个工具是某个值时,度量压力测试运行的成功情况,该工具揭示了大量测试之中只有小部分事例会运行。
Next, to actually run the test, you simply run the test file from the command line with the test option.
接下来,仅需从命令行的测试选项运行测试文件,就能够实际运行测试。
As with manual test scripts, to run an automated script, you must associate it with a test case and a test execution (test run) record.
至于手动设置的测试脚本,为了运行一个自动化的脚本,您必须将其与一个测试用例和测试执行(测试运行)记录联系起来。
All right. So we've got it now let's test it. So we're going to do here we're going to run compare methods.
很抱歉,那些坐在后面的同学,想往前面来的请自便,我们已经做好准备,让我们去试一下,我们接下来将要做的就是。
I should really just put it in a nice test harness, where I run 100, 200, 1,000 trials, but I didn't want to bore you with that here.
我应该把它放到一个测试组件中,我运行100次,200次,1000次,但是我现在不想用这个来烦你们。
That was the kind of thing you saw. Asserts said here are some conditions to test. If they're true, I'm going to let the rest of the code run.
这就是你看到的,断言是一些测试条件,如果他们为真。
应用推荐