private void InitializeOnRunStarted(DateTime startDateTime) { Action.Safe(() => { RunRepository.OnRunStarted(ReporterSettings, startDateTime); TestRunsRepository.OnRunStarted(); ResourceExtractor.ExtractReportBase(ReporterSettings.OutputPath); DataService.SaveReportSettings(ReportSettings); }); }
private void InitializeOnRunStarted(DateTime startDateTime) { Action.Safe(() => { Logger.Debug("Reporter is initializing on run start..."); RunRepository.OnRunStarted(ReporterSettings, startDateTime); TestRunsRepository.OnRunStarted(); ResourceExtractor.ExtractReportBase(ReporterSettings.OutputPath); DataWriterService.SaveReportSettings(ReportSettings); Logger.Debug($"Reporter initializing done. Output folder is '{ReporterSettings.OutputPath}'. " + $"Data service file: '{ReporterSettings.DataServiceFile}', Logger file: '{ReporterSettings.LoggerFile}'"); }); }