public static void PostBeforeFeatureAct(FeatureContext featureContext) { try { TestExecutionProvider.PostBeforeFeatureAct(featureContext.FeatureInfo.Title, featureContext.FeatureInfo.Tags.ToList()); } catch (Exception ex) { TestExecutionProvider.BeforeFeatureFailed(ex); throw; } }
public static void PostBeforeFeatureAct(FeatureContext featureContext) { if (ThrownException?.Value != null) { ThrownException.Value = null; } try { TestExecutionProvider.PostBeforeFeatureAct(featureContext.FeatureInfo.Title, featureContext.FeatureInfo.Tags.ToList()); } catch (Exception ex) { TestExecutionProvider.BeforeScenarioFailed(ex); throw; } }