Ejemplo n.º 1
0
 public Feature(Tag[] tags, Location location, string language, string keyword, string name, string description, Background background, ScenarioDefinition[] scenarioDefinitions, Comment[] comments)
 {
     Tags = tags;
     Location = location;
     Language = language;
     Keyword = keyword;
     Name = name;
     Description = description;
     Background = background;
     ScenarioDefinitions = scenarioDefinitions;
     Comments = comments;
 }
Ejemplo n.º 2
0
 internal G.Background CreateBackground(string name, string description, G.Step[] steps)
 {
     G.Background background = new G.Background(
         AnyLocation,
         "Background",
         name,
         description,
         steps);
     return background;
 }
Ejemplo n.º 3
0
 public SpecFlowFeature(Tag[] tags, Location location, string language, string keyword, string name, string description, Background background, ScenarioDefinition[] scenarioDefinitions, Comment[] comments, string sourceFilePath) : base(tags, location, language, keyword, name, description, background, scenarioDefinitions, comments)
 {
     this.SourceFilePath = sourceFilePath;
 }
Ejemplo n.º 4
0
 internal G.Feature CreateFeature(string name, string description, string[] tags = null, G.Background background = null, G.ScenarioDefinition[] scenarioDefinitions = null)
 {
     return(new G.Feature((tags ?? new string[0]).Select(this.CreateTag).ToArray(), null, null, "Feature", name, description, background, scenarioDefinitions, null));
 }
Ejemplo n.º 5
0
 private void FormatBackground(Background background, StringBuilder result)
 {
     FormatHasDescription(background, result);
     FormatHasSteps(background, result);
     result.AppendLine();
 }