public PerformanceReport BuildReport() { PreConditions.AssertNotNullOrWhitespace(m_testName, "TestName"); Log.InfoFormat("Generating report, reading metrics from '{0}'", m_metricsFilePath); //TODO:print a running report every X seconds var report = new PerformanceReportBuilder { ReportTitle = m_testName, MetricsFilePath = m_metricsFilePath, LineToMetricsReader = ReadLineToMetrics } .Build(); Log.Debug("Done generating report"); WriteReportToDisk(report); return(report); }
public PerformanceReport BuildReport() { PreConditions.AssertNotNullOrWhitespace(m_testName, "TestName"); Log.InfoFormat("Generating report, reading metrics from '{0}'", m_metricsFilePath); // TODO:print a running report every X seconds var report = new PerformanceReportBuilder { ReportTitle = m_testName, MetricsFilePath = m_metricsFilePath, LineToMetricsReader = ReadLineToMetrics } .Build(); Log.Debug("Done generating report"); WriteReportToDisk(report); return report; }