/// <summary> /// Creates a new test run builder. /// </summary> /// <param name="factory"></param> /// <param name="testRun"></param> internal TestRunBuilder(CoreFactory factory, TestRun testRun) { this.factory = factory; this.capabilityCache = factory.CreateCapabilityCache(); this.featureCache = factory.CreateFeatureCache(); this.TestRun = testRun; }
internal ScenarioRunner(Scenario scenario, CoreFactory factory) { this.scenario = scenario; this.factory = factory; stepExecutor = factory.CreateStepExecutor(scenario); statsCascader = factory.UtilityFactory.CreateStatsCascader(); }
internal ScenarioBuilder(string scenarioName, Feature feature, CoreFactory factory) { this.factory = factory; outcomeAggregator = factory.UtilityFactory.CreateOutcomeAggregator(); scenario = factory.CreateScenario(scenarioName, feature); runner = factory.CreateScenarioRunner(scenario); }
internal ScenarioRunner(Scenario scenario, CoreFactory factory) { this.scenario = scenario; this.factory = factory; stepExecutor = factory.CreateStepExecutor(scenario); statsCascader = factory.UtilityFactory.CreateStatsCascader(); this.SetOutputWriter(new OutputWriter()); }
public TestRunBuilder(CoreFactory factory, TestRun testRun) { this.factory = factory; areaCache = factory.CreateAreaCache(); featureCache = factory.CreateFeatureCache(); testRunInitializer = factory.CreateTestRunInitializer(); TestRun = testRun; }
internal ScenarioBuilder( string scenarioName, Feature feature, CoreFactory factory, string methodName, string explanation, TextFormat explanationFormat, string[] assignments, string[] tags, int sortOrder) { this.factory = factory; outcomeAggregator = factory.UtilityFactory.CreateOutcomeAggregator(); scenario = factory.CreateScenario(scenarioName, feature, methodName, explanation, explanationFormat, assignments, tags, sortOrder); runner = factory.CreateScenarioRunner(scenario); }
static void EnsureFactory() { if (factory == null) factory = new CoreFactory(); }
public AreaCache(CoreFactory factory) { this.factory = factory; this.areas = new List<Area>(); }
public StepExceptionHandler(Scenario scenario, CoreFactory factory) { this.scenario = scenario; statsCascader = factory.UtilityFactory.CreateStatsCascader(); }
internal FeatureCache(CoreFactory factory) { this.factory = factory; this.features = new List<Feature>(); }
public StepExecutor(Scenario scenario, CoreFactory factory) { stepExceptionHandler = factory.CreateStepExceptionHandler(scenario); statsCascader = factory.UtilityFactory.CreateStatsCascader(); this.scenario = scenario; }
internal FeatureCache(CoreFactory factory) { this.factory = factory; this.features = new List <Feature>(); }
internal StepExecutor(Scenario scenario, CoreFactory factory) { stepExceptionHandler = factory.CreateStepExceptionHandler(scenario); statsCascader = factory.UtilityFactory.CreateStatsCascader(); this.scenario = scenario; }
internal CapabilityCache(CoreFactory factory) { this.factory = factory; this.capabilities = new List <Capability>(); }