public static void Scenario2() { "Given something" .Given(() => ExecutedStepTypes.Enqueue(StepType.Scenario)); "And something else" .And(() => ExecutedStepTypes.Enqueue(StepType.Scenario)); }
public static void Background() { "Given something" .Given(() => ExecutedStepTypes.Enqueue(StepType.Background)); "And something else" .And(() => ExecutedStepTypes.Enqueue(StepType.Background)); "And something else" .And(() => ExecutedStepTypes.Enqueue(StepType.Background)); }