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.

Share Improve this question asked Feb 24 at 15:29 MartinMartin 11.9k16 gold badges85 silver badges115 bronze badges
Add a comment  | 

2 Answers 2

Reset to default 1

According 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