Click or drag to resize

RegressionTestPlanBuilderSetRequestedRegressionSpecs(RegressionSpec) Method

Sets specifications for up to 60 regressions that you want to receive in the response from the API.

Namespace: DegreeDays.Api.Regressions
Assembly: DegreeDays (in DegreeDays.dll) Version: 1.4
Syntax
public RegressionTestPlanBuilder SetRequestedRegressionSpecs(
	params RegressionSpec[] requestedRegressionSpecs
)

Parameters

requestedRegressionSpecs  RegressionSpec
The specifications for the regressions that you want to be returned in the API response. Cannot be null, and cannot contain null.

Return Value

RegressionTestPlanBuilder
This Builder, for easy method chaining.
Exceptions
ExceptionCondition
ArgumentNullExceptionrequestedRegressionSpecs is null or contains null.
ArgumentExceptionrequestedRegressionSpecs contains more than 60 RegressionSpec objects.
Remarks

You will be able to identify your requested regression(s) by looping over the returned regressions and calling HasTag(RegressionTag) with RegressionTag.Requested.

There's some sample code in the regression API docs on our website.

Data will be copied from the array passed in (rather than this Builder storing the array internally), so you can continue to use the array however you like after calling this method.

See Also