开发者

(MTM) Microsoft Test Manager - Run Test Case Programatically

开发者 https://www.devze.com 2023-01-31 07:00 出处:网络
I\'m trying to run a test case programatically using the internal Microsoft.TeamFoundation.TestManagement.Client methods but I found that almost all the methods are internal, so I cannot use them.

I'm trying to run a test case programatically using the internal Microsoft.TeamFoundation.TestManagement.Client methods but I found that almost all the methods are internal, so I cannot use them.

Do you have an idean how can I use these class/methods? Of couse I'm referencing to these dll's in my project and I need to use them.

I attached two images of the reflection of the dll.

(MTM) Microsoft Test Manager - Run Test Case Programatically

(MTM) Microsoft Test Manager - Run Test Case Programatically

开发者_运维问答

Thank you for your help

Sebastian


Probably not what you want to hear, but:
Since the methods are internal, they are not supposed to be used. Even when using reflection to call them is a risk as MS can change the API of these methods at any time (hotfix, service pack, vNext). So anything that you build on top of these undocumented API's is also unsupported (you are totally on your own in case anything goes wrong!)

AFAIK, the only tool supported to actualy run Test Cases is the Test Runner from MTM itself.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号