Sometimes it's simplest to have a human sit in front of the program and mark each test as pass or fail.
有时,最简单的方法是让一个人坐在程序前将每一个测试通过或失败的结果都标记下来。
If a test marginally passes, but some things dont fully work, you can say 70% pass, 30% fail by using the weight sliders.
如果一个测试通过,但是有一部分事不能发挥全部潜能的话,使用权重分配,您可以说70%通过了,30%没有通过。
Else code block is a simple logical crossroad that helps show why the test would fail or pass if one path - and not another - is taken, according to test expectations.
else代码块是一个简单的逻辑分支,根据测试期望说明选取一条路经——而不是另一条路经——之后测试将失败(或通过)的原因。
应用推荐