public void Process(IEnumerable<Story> testResults) { var template = new HtmlReport.HtmlReportTemplate { ReportConfiguration = _reportConfiguration, TestResults = testResults }; var renderedTemplate = template.TransformText(); using (var outfile = new StreamWriter(_reportConfiguration.TestResultDirectory + string.Format(@"\TestResults.{0}.html", _reportConfiguration.AssemblyHeader),false)) { outfile.Write(renderedTemplate); } }
public void Process(IEnumerable <Story> testResults) { var template = new HtmlReport.HtmlReportTemplate { ReportConfiguration = _reportConfiguration, TestResults = testResults }; var renderedTemplate = template.TransformText(); using (var outfile = new StreamWriter(_reportConfiguration.TestResultDirectory + string.Format(@"\TestResults.{0}.html", _reportConfiguration.AssemblyHeader), false)) { outfile.Write(renderedTemplate); } }