This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see Cake.AzureDevOps.
Summary
Gets the test runs of the build including test results.
- Assembly
- Cake
.AzureDevOps .dll - Namespace
- Cake
.AzureDevOps .Pipelines - Containing Type
- AzureDevOpsBuild
Syntax
public IEnumerable<AzureDevOpsTestRun> GetTestRuns(Nullable<int> maxResultsPerTestRun)
Parameters
Name | Type | Description |
---|---|---|
maxResultsPerTestRun | Nullable |
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 . |