예제 #1
0
        public void InitializeStepContext(StepInfo stepInfo)
        {
            var newContext = new ScenarioStepContext(stepInfo);

            stepContextManager.Init(newContext);
            ScenarioStepContext.Current = newContext;
        }
예제 #2
0
        public void InitializeStepContext(StepInfo stepInfo)
        {
            stepDepth++;
            var newContext = new ScenarioStepContext(stepInfo);

            stepContextManager.Init(newContext);
            if (ExecutingTopLevelStep())
            {
                CurrentTopLevelStep = newContext;
            }
            ScenarioStepContext.Current = newContext;
        }