private void NotifyReporters() { if (_testList.IsNullOrEmpty()) { return; } if (!_testList.IsNullOrEmpty() && _testList[0].IsBehaviorDrivenType) { AnalysisStrategy = AnalysisStrategy.BDD; } lock (_synclock) { ReportStatusStats.Refresh(_testList); } var reportAggregates = new ReportAggregates { TestList = _testList, StatusList = _statusList, ReportStatusStats = this.ReportStatusStats, AuthorContext = this.AuthorContext, CategoryContext = this.CategoryContext, DeviceContext = this.DeviceContext, ExceptionInfoContext = this.ExceptionInfoContext, TestRunnerLogs = this.TestRunnerLogs, SystemAttributeContext = this.SystemAttributeContext }; StarterReporterList.ForEach(x => { x.AnalysisStrategy = AnalysisStrategy; x.Flush(reportAggregates); }); }
private void RefreshReportStats() { ReportStatusStats.Refresh(_testList); RefreshStatusList(); }