admin管理员组文章数量:1279124
In order to use Microsoft.TeamFoundation.TestManagement.WebApi.TestManagementHttpClientRetryHelper.AddTestResultsToTestRunAsync
you need an Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint
. There are several API to get query a TestPoint
. I can find test points vor various test configurations. However, not for the test configuration I'm planning to use. That leaves me with the question: How to you actually create a test point. Manually or with the API.
Side-Note: I can't find the test points in the user interface at all. Microsoft.TeamFoundation.TestManagement.WebApi.TestHttpClientBase.GetPointsAsync
seem to be the only place they actually show up.
In order to use Microsoft.TeamFoundation.TestManagement.WebApi.TestManagementHttpClientRetryHelper.AddTestResultsToTestRunAsync
you need an Microsoft.TeamFoundation.TestManagement.WebApi.TestPoint
. There are several API to get query a TestPoint
. I can find test points vor various test configurations. However, not for the test configuration I'm planning to use. That leaves me with the question: How to you actually create a test point. Manually or with the API.
Side-Note: I can't find the test points in the user interface at all. Microsoft.TeamFoundation.TestManagement.WebApi.TestHttpClientBase.GetPointsAsync
seem to be the only place they actually show up.
2 Answers
Reset to default 1According to the official doc Test points,
When you add a test case to a test suite then test point(s) are generated. A test point is a unique combination of test case, test suite, configuration, and tester. For example, if you have a test case named Test login functionality and you add two configurations for the Edge and Chrome browsers, you have two test points.
To create a test point, you can add a new test case to the test suite, change the configuration or tester of the suite using REST API Test Suites - Update.
Answering my own question - at least for the GUI part. This Dialog here does the trick:
As soon as you add the desired test configuration the needed test points are created. Note that I added one test configuration but got two test points.
You find the dialog here:
本文标签: DevOps API how to create a test pointStack Overflow
版权声明:本文标题:DevOps API how to create a test point - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741256803a2366835.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论