static void Write(ScenarioReportingContext context, Stream stream) { using (var writer = new StreamWriter(stream)) { writer.WriteLine(context.CreateReport()); } }
public void Report(ScenarioReportingContext scenario) { Trace.WriteLine(scenario.CreateReport()); }