Exemplo n.º 1
0
 public ContextManager(ITestTracer testTracer, IObjectContainer parentContainer)
 {
     featureContext       = new InternalContextManager <FeatureContext>(testTracer);
     scenarioContext      = new InternalContextManager <ScenarioContext>(testTracer);
     stepContext          = new StackedInternalContextManager <ScenarioStepContext>(testTracer);
     this.parentContainer = parentContainer;
 }
Exemplo n.º 2
0
 public ContextManager(ITestTracer testTracer, IObjectContainer testThreadContainer, IContainerBuilder containerBuilder)
 {
     this.featureContextManager  = new InternalContextManager <FeatureContext>(testTracer);
     this.scenarioContextManager = new InternalContextManager <ScenarioContext>(testTracer);
     this.stepContextManager     = new StackedInternalContextManager <ScenarioStepContext>(testTracer);
     this.testThreadContainer    = testThreadContainer;
     this.containerBuilder       = containerBuilder;
 }