예제 #1
0
 public PerScenarioContainerSteps(
     FeatureContext featureContext,
     ScenarioContext scenarioContext)
 {
     this.featureContext   = featureContext;
     this.scenarioContext  = scenarioContext;
     this.containerContext = ContainerTestContext.GetForScenario(this.scenarioContext);
 }
예제 #2
0
 private static void GetServiceDuringPhase(ScenarioContext scenarioContext, Phase phase)
 {
     ContainerTestContext.GetForScenario(scenarioContext).GetServiceFromContainerDuringPhase(phase);
 }
예제 #3
0
 public static void PopulateServiceCollectionBeforeScenario(ScenarioContext scenarioContext)
 {
     ContainerTestContext.GetForScenario(scenarioContext).AddServices();
 }
 private static void GetServiceDuringPhase(FeatureContext featureContext, Phase phase)
 {
     ContainerTestContext.GetForFeature(featureContext).GetServiceFromContainerDuringPhase(phase);
 }
 public static void PopulateServiceCollectionBeforeFeature(FeatureContext featureContext)
 {
     ContainerTestContext.GetForFeature(featureContext).AddServices();
 }
 public PerFeatureContainerSteps(FeatureContext featureContext)
 {
     this.featureContext   = featureContext;
     this.containerContext = ContainerTestContext.GetForFeature(this.featureContext);
 }