public void PreBeforeScenario(FeatureContext featureContext, ScenarioContext scenarioContext) { _stringWriter = new StringWriter(); Console.SetOut(_stringWriter); try { TestExecutionProvider.PreBeforeScenario(featureContext.FeatureInfo.Title, scenarioContext.ScenarioInfo.Title, featureContext.FeatureInfo.Tags.ToList(), scenarioContext.ScenarioInfo.Tags.ToList()); } catch (Exception ex) { TestExecutionProvider.BeforeFeatureFailed(ex); throw; } }