public void Execute(IProcessSteps stepProcessor, IProcessScenarioHooks hookProcessor, IFormatOutput outputFormatter, int lineNumber) { var executor = GetExecutableAt(lineNumber); if (!(executor is Feature)) outputFormatter.WriteFeatureHeading(this); executor.Execute(stepProcessor, hookProcessor, outputFormatter); }
public void Execute(IProcessSteps stepProcessor, IProcessScenarioHooks hookProcessor, IFormatOutput outputFormatter) { outputFormatter.WriteFeatureHeading(this); outputFormatter.SkipWritingBackground = false; foreach (var item in Items) { item.Execute(stepProcessor, hookProcessor, outputFormatter); } }