public static void InitializeBddify(DefaultHtmlReportConfiguration reportConfiguration) { Configurator.Processors.TestRunner.RunsOn(s => s.Category != ScenarioCategory.NotImplementedSubcutaneously.DisplayName); Configurator.Scanners.StoryMetaDataScanner = () => new StoryMetaDataScanner(); Configurator.BatchProcessors.HtmlReport.Disable(); Configurator.BatchProcessors.Add(new HtmlReporter(reportConfiguration)); }
public void SetupReporting() { Configurator.BatchProcessors.HtmlReport.Disable(); var report = new DefaultHtmlReportConfiguration(); report.OutputFileName = typeof(Program).Namespace + ".AcceptanceTests.html"; report.ReportHeader = typeof(Program).Namespace + " acceptance tests"; report.ReportDescription = "Automated tests of business critical functionality"; Configurator.BatchProcessors.Add(new HtmlReporter(report)); }