Regression |
public RegressionTestPlanBuilder SetRequestedRegressionSpecs( IEnumerable<RegressionSpec> requestedRegressionSpecs )
Exception | Condition |
---|---|
ArgumentNullException | requestedRegressionSpecs is null or contains null. |
ArgumentException | requestedRegressionSpecs contains more than 60 RegressionSpec objects. |
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 IEnumerable passed in (rather than this Builder storing the IEnumerable internally), so you can continue to use the IEnumerable however you like after calling this method.