Edit

TestHttpClientBase.GetTestRunsAsync Method

Definition

Overloads

GetTestRunsAsync(Guid, String, String, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get a list of test runs.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>> GetTestRunsAsync(Guid project, string buildUri = null, string owner = null, string tmiRunId = null, Nullable<int> planId = null, Nullable<bool> includeRunDetails = null, Nullable<bool> automated = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunsAsync : Guid * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>
override this.GetTestRunsAsync : Guid * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>

Parameters

project
Guid

Project ID

buildUri
String

URI of the build that the runs used.

owner
String

Team foundation ID of the owner of the runs.

tmiRunId
String
planId
Nullable<Int32>

ID of the test plan that the runs are a part of.

includeRunDetails
Nullable<Boolean>

If true, include all the properties of the runs.

automated
Nullable<Boolean>

If true, only returns automated runs.

skip
Nullable<Int32>

Number of test runs to skip.

top
Nullable<Int32>

Number of test runs to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to

GetTestRunsAsync(String, String, String, String, Nullable<Int32>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Int32>, Nullable<Int32>, Object, CancellationToken)

[Preview API] Get a list of test runs.

public virtual System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>> GetTestRunsAsync(string project, string buildUri = null, string owner = null, string tmiRunId = null, Nullable<int> planId = null, Nullable<bool> includeRunDetails = null, Nullable<bool> automated = null, Nullable<int> skip = null, Nullable<int> top = null, object userState = null, System.Threading.CancellationToken cancellationToken = null);
abstract member GetTestRunsAsync : string * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>
override this.GetTestRunsAsync : string * string * string * string * Nullable<int> * Nullable<bool> * Nullable<bool> * Nullable<int> * Nullable<int> * obj * System.Threading.CancellationToken -> System.Threading.Tasks.Task<System.Collections.Generic.List<Microsoft.TeamFoundation.TestManagement.WebApi.TestRun>>

Parameters

project
String

Project ID or project name

buildUri
String

URI of the build that the runs used.

owner
String

Team foundation ID of the owner of the runs.

tmiRunId
String
planId
Nullable<Int32>

ID of the test plan that the runs are a part of.

includeRunDetails
Nullable<Boolean>

If true, include all the properties of the runs.

automated
Nullable<Boolean>

If true, only returns automated runs.

skip
Nullable<Int32>

Number of test runs to skip.

top
Nullable<Int32>

Number of test runs to return.

userState
Object
cancellationToken
CancellationToken

The cancellation token to cancel operation.

Returns

Applies to