TestHttpClientBase.AddTestCasesToSuiteAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
AddTestCasesToSuiteAsync(Guid, Int32, Int32, String, Object, CancellationToken) |
[Preview API] Add test cases to suite. |
AddTestCasesToSuiteAsync(String, Int32, Int32, String, Object, CancellationToken) |
[Preview API] Add test cases to suite. |
[Preview API] Add test cases to suite.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>> AddTestCasesToSuiteAsync (Guid project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member AddTestCasesToSuiteAsync : Guid * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>
override this.AddTestCasesToSuiteAsync : Guid * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>
Parameters
- project
- Guid
Project ID
- planId
- Int32
ID of the test plan that contains the suite.
- suiteId
- Int32
ID of the test suite to which the test cases must be added.
- testCaseIds
- String
IDs of the test cases to add to the suite. Ids are specified in comma separated format.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |
[Preview API] Add test cases to suite.
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>> AddTestCasesToSuiteAsync (string project, int planId, int suiteId, string testCaseIds, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member AddTestCasesToSuiteAsync : string * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>
override this.AddTestCasesToSuiteAsync : string * int * int * string * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.SuiteTestCase>>
Parameters
- project
- String
Project ID or project name
- planId
- Int32
ID of the test plan that contains the suite.
- suiteId
- Int32
ID of the test suite to which the test cases must be added.
- testCaseIds
- String
IDs of the test cases to add to the suite. Ids are specified in comma separated format.
- userState
- Object
- cancellationToken
- CancellationToken
The cancellation token to cancel operation.
Returns
Applies to
Azure DevOps Services .NET SDK latest ve Azure DevOps Services .NET SDK preview
Ürün | Sürümler |
---|---|
Azure DevOps Services .NET SDK | preview, latest |