Don Gossett
Don Gossett

Reputation: 781

Using REST VSTS API - Is it possible to remove/delete a test point?

I am creating test suites and then assigning test cases to the test suites using the VSTS REST API.

After I create the test suite, I update the test suite by adding 4 default configurations using the method from here. However, not all of my test cases need to be tested with all 4 configurations. Meaning that some only need to be tested with 1 configuration while others might need 3 configurations.

My problem is that by adding the test case to the test suite, all 4 configurations are set to the test case. I understand why this is happening, but I'd like to remove the configurations from the test cases that do not need them. My understanding is that these are called test points. I can get the test points and I can update the test points but I cannot delete the test points.

Is there a way to delete a single test point using the VSTS REST API? If not, is there a work around or other possible means to do this.

Note: I am using the Microsoft.TeamFoundationServer.ExtendedClient 15.131.0-preview build.

Upvotes: 0

Views: 364

Answers (1)

Marina Liu
Marina Liu

Reputation: 38106

For now, there is no way to update test case’s configuration by REST API.

And there has an user voice VSTS REST API assign test configurations to test case which suggests similar feature, you can vote and follow up.

Upvotes: 0

Related Questions