Exemple #1
0
 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());
 }
Exemple #2
0
 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;
 }
Exemple #3
0
 public ScenarioTestCase(SpecFlowFeatureTestClass featureTestClass, Scenario scenario, string[] featureTags)
     : this(featureTestClass, scenario, featureTags, scenario.Location)
 {
 }