Summary
Gets the test runs of the build including test results.
- Namespace
- Cake
.AzureDevOps .Pipelines - Containing Type
- AzureDevOpsBuild
Syntax
public IEnumerable<AzureDevOpsTestRun> GetTestRuns(int? maxResultsPerTestRun)
Parameters
Name | Type | Description |
---|---|---|
maxResultsPerTestRun | int? | Number of maximum test results to read for every test run.
0 for skipping reading of test results. null for reading all test results in batches. |
Return Value
Type | Description |
---|---|
IEnumerable |
A list of test runs or an empty list if no build could be found and
ThrowExceptionIfBuildCouldNotBeFound is set to false . |