Exemple #1
0
        public void OnScenarioStart(ScenarioInfo scenarioInfo)
        {
            if (asyncTestExecutor == null)
            {
                throw new InvalidOperationException("Cannot start an asynchronous scenario with a null AsyncContext");
            }

            // No enqueueing
            // The queue is logically empty at this point (we're the first thing to run in a scenario)
            // and enqueueing right now will just add to an empty list
            testExecutionEngine.OnScenarioStart(scenarioInfo);

            // register the test executor in the scenario context to be able to used AOP style
            ScenarioContext.Set(asyncTestExecutor);
        }
 public void OnScenarioStart()
 {
     _executionEngine.OnScenarioStart();
 }
Exemple #3
0
 public void OnScenarioStart(ScenarioInfo scenarioInfo)
 {
     executionEngine.OnScenarioStart(scenarioInfo);
 }