订单测试用例 [英] Order Test Cases
问题描述
我试图通过订单功能在MTM中订购我的测试用例。但是当我排队时,测试用例没有以预期的顺序运行。这个功能是错误的还是我做错了什么?
I was trying to order my test cases in MTM via the order function. But when i queued my build, the test cases didn't run in the expected order. Is this function buggy or is it me who does something wrong?
我希望有人可以帮助我。
I hope someone can help me.
Lukas
推荐答案
您好Lukas,
Hi Lukas,
如果您想要自动化测试要按特定顺序运行的情况,您需要从Visual Studio创建一个有序测试,然后添加您要运行的测试用例以便进行该测试用例。如果您运行这样的测试用例,则可以确保订购。您可以在这里找到更多信息
:
http://msdn.microsoft.com /en-us/library/dd286704.aspx
If you want your automated test cases to run in a certain order, you need to create an ordered test from Visual Studio and then add the test cases you want to run in order to that test case. If you run test cases like this, the ordering is assured. You can find more info here: http://msdn.microsoft.com/en-us/library/dd286704.aspx
谢谢。
-Darshan
这篇关于订单测试用例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!