TestHttpClientBase.GetTestIterationsAsync 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.
GetTestIterationsAsync(String, Int32, Int32, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get iterations for a result |
GetTestIterationsAsync(Guid, Int32, Int32, Nullable<Boolean>, Object, CancellationToken) |
[Preview API] Get iterations for a result |
[Preview API] Get iterations for a result
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestIterationDetailsModel>> GetTestIterationsAsync (string project, int runId, int testCaseResultId, Nullable<bool> includeActionResults = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestIterationsAsync : string * int * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestIterationDetailsModel>>
override this.GetTestIterationsAsync : string * int * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestIterationDetailsModel>>
Parameters
- project
- String
Project ID or project name
- runId
- Int32
ID of the test run that contains the result.
- testCaseResultId
- Int32
ID of the test result that contains the iterations.
Include result details for each action performed in the test iteration. ActionResults refer to outcome (pass/fail) of test steps that are executed as part of a running a manual test. Including the ActionResults flag gets the outcome of test steps in the actionResults section and test parameters in the parameters section for each test iteration.
- 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] Get iterations for a result
public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestIterationDetailsModel>> GetTestIterationsAsync (Guid project, int runId, int testCaseResultId, Nullable<bool> includeActionResults = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestIterationsAsync : Guid * int * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestIterationDetailsModel>>
override this.GetTestIterationsAsync : Guid * int * int * Nullable<bool> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestIterationDetailsModel>>
Parameters
- project
- Guid
Project ID
- runId
- Int32
ID of the test run that contains the result.
- testCaseResultId
- Int32
ID of the test result that contains the iterations.
Include result details for each action performed in the test iteration. ActionResults refer to outcome (pass/fail) of test steps that are executed as part of a running a manual test. Including the ActionResults flag gets the outcome of test steps in the actionResults section and test parameters in the parameters section for each test iteration.
- 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 |