Click or drag to resize

RegressionTestPlanBuilderAddRequestedRegressionSpec Method

Adds a specification for a regression 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 AddRequestedRegressionSpec(
	RegressionSpec requestedRegressionSpec
)

Parameters

requestedRegressionSpec  RegressionSpec
The specification for the regression that you want to be returned in the API response. Cannot be null.

Return Value

RegressionTestPlanBuilder
This Builder, for easy method chaining.
Exceptions
ExceptionCondition
ArgumentNullExceptionrequestedRegressionSpec is null.
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.

See Also