/// <summary> /// Sets the fixture step results and status that is determined with them. /// </summary> /// <param name="stepResults">The fixture step running results.</param> /// <returns>The new instance of the <see cref="FixtureResult"/> class.</returns> public FixtureResult FinishedWith(IEnumerable <FixtureStepResult> stepResults) { StepResults = stepResults.ToList(); Status = ResolveStatus(StepResults.Select(step => step.Status)); return(new FixtureResult(this)); }