/// <summary> /// Indicates that when scenarios complete and their reports become available, they should be written to /// a JSON report file at the specified path. /// </summary> /// <returns>The report integration builder.</returns> /// <param name="path">The file path for the JSON report file.</param> public ReportingIntegrationBuilder WithReportJsonFile(string path) { scenarioCompletionObserver = JsonScenarioRenderer.CreateForFile(path); return(this); }
/// <summary> /// Indicates that when scenarios complete and their reports become available, the given object should render /// their results. /// </summary> /// <returns>The report integration builder.</returns> /// <param name="renderer">Renderer.</param> public ReportingIntegrationBuilder WithScenarioRenderer(IObservesScenarioCompletion renderer) { scenarioCompletionObserver = renderer; return(this); }