TFS 2015 测试用例结果 = "None"

TFS 2015 test case outcome = "None"

我每晚使用 TFS 2015 运行 自动回归测试。套件中有 100 多个测试,但每晚都会显示其中 1 个(通常是相同的)结果 "None"。

如果我查看测试日志,我会发现测试没有失败。如果我从套件中删除这个测试,那么在下一个 运行 上面的测试,在代码中,将显示为 "None" 但它也会通过。

这可能是什么原因造成的?我该如何确定原因?

We upload results after finishing execution of the set of tests given to an agent. From #1410 it sounded like all your tests are currently going to 1 machine, which would mean all results are uploaded only at the end. Also, the Test Results tab in Build Summary (image you pasted above) only shows results once the run is complete. You can go to the Runs tab in the Test Hub to see test results as and when they are available, even for in progress runs (image below)

Source Link

所以换句话说,你必须等待 过程完全完成 ,状态 none 问题的根本原因可能是你的 entre 测试过程尚未完成或某些特殊原因导致流程未完成。