예제 #1
0
        internal ScenarioContext(IObjectContainer scenarioContainer, ScenarioInfo scenarioInfo, IBindingInstanceResolver bindingInstanceResolver)
        {
            this.scenarioContainer       = scenarioContainer;
            this.bindingInstanceResolver = bindingInstanceResolver;

            Stopwatch = new Stopwatch();
            Stopwatch.Start();

            CurrentScenarioBlock = ScenarioBlock.None;
            ScenarioInfo         = scenarioInfo;
            TestStatus           = TestStatus.OK;
            PendingSteps         = new List <string>();
            MissingSteps         = new List <StepInstance>();
        }
예제 #2
0
        internal ScenarioContext(IObjectContainer scenarioContainer, ScenarioInfo scenarioInfo, IBindingInstanceResolver bindingInstanceResolver)
        {
            this.scenarioContainer = scenarioContainer;
            this.bindingInstanceResolver = bindingInstanceResolver;

            Stopwatch = new Stopwatch();
            Stopwatch.Start();

            CurrentScenarioBlock = ScenarioBlock.None;
            ScenarioInfo = scenarioInfo;
            TestStatus = TestStatus.OK;
            PendingSteps = new List<string>();
            MissingSteps = new List<StepInstance>();
        }