Example #1
0
            public static void Scenario2()
            {
                "Given something"
                .Given(() => ExecutedStepTypes.Enqueue(StepType.Scenario));

                "And something else"
                .And(() => ExecutedStepTypes.Enqueue(StepType.Scenario));
            }
Example #2
0
            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));
            }