Exemplo n.º 1
0
 public Scenario(ILanguageInfo info, string name, string description, BlockSteps scenarioSteps, Examples examples, IList <IGherkinComment> comments)
     : base(info, GherkinKeyword.ScenarioOutline, name, description)
 {
     this.Steps    = scenarioSteps ?? new BlockSteps();
     this.Examples = examples ?? new Examples();
     this.Comments = comments;
 }
Exemplo n.º 2
0
 public Background(ILanguageInfo info, string name, string description, BlockSteps scenarioSteps, IList <IGherkinComment> comments)
     : base(info, GherkinKeyword.Background, name, description)
 {
     this.Steps    = scenarioSteps ?? new BlockSteps();
     this.Comments = comments;
 }