public ScenarioReportingContext( IList <string> featureReport, IList <string> scenarioReport, IList <string> stepReport, GherkinTestFrameworkSettingsFacade settings) { FeatureReport = featureReport; ScenarioReport = scenarioReport; StepReport = stepReport; Settings = settings; }
public ScenarioTestMetadata(Type scenarioTestType) { Settings = GherkinTestFrameworkSettingsFacade.GetInstance(); _scenarioTestType = scenarioTestType; foreach (StepType stepType in Enum.GetValues(typeof(StepType))) { _steps.Add(stepType, new List <StepInfo>()); } IsOutputSuppressed = ExtractSuppressOutputAttribute(_scenarioTestType) != null; }
public void When() { _settings = GherkinTestFrameworkSettingsFacade.GetInstance(); }
public void It_should_use_the_class_name() { ScenarioReport.Should().StartWith(string.Format("{0}Fixture uses implicit scenario description", GherkinTestFrameworkSettingsFacade.GetInstance().GetToken(TokenType.Scenario))); }
protected ReportingScenarioTest() { Settings = GherkinTestFrameworkSettingsFacade.GetInstance(); }