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.
开发者_运维问答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.
精彩评论