private ScenarioTestCase(SpecFlowFeatureTestClass featureTestClass, ScenarioDefinition scenario, string[] featureTags, Location location) { FeatureFile = featureTestClass; Name = scenario.Name; SourceInformation = new SourceInformation { FileName = featureTestClass.FeatureFilePath, LineNumber = location?.Line }; Traits = new Dictionary <string, List <string> >(); Traits.Add("Category", featureTags.Concat(((IHasTags)scenario).Tags.GetTags()).ToList()); }
public ScenarioTestCase(SpecFlowFeatureTestClass featureTestClass, ScenarioOutline scenario, string[] featureTags, Dictionary <string, string> scenarioOutlineParameters, string exampleId, Location exampleLocation) : this(featureTestClass, scenario, featureTags, exampleLocation) { ScenarioOutlineParameters = scenarioOutlineParameters; ExampleId = exampleId; }
public ScenarioTestCase(SpecFlowFeatureTestClass featureTestClass, Scenario scenario, string[] featureTags) : this(featureTestClass, scenario, featureTags, scenario.Location) { }