public InPlaceScenarioRunner(IResultListener listener, MemberInvoker memberInvoker, ScenarioInterpreter scenarioInterpreter) { _listener = listener; _scenarioInterpreter = scenarioInterpreter; _lineExecuter = new ScenarioLineExecuter(memberInvoker, scenarioInterpreter, listener); }
protected void BeforeAll() { _eventBus = StorEvilEvents.Bus; _storyContext = TestSession.SessionContext(GetType().Assembly.Location).GetContextForStory(); _interpreter = new StandardScenarioInterpreter(); _scenarioLineExecuter = new ScenarioLineExecuter(_interpreter, _eventBus); }
protected DriverBase(IResultListener listener) { _listener = listener; ScenarioInterpreter = new ScenarioInterpreter(new InterpreterForTypeFactory(new ExtensionMethodHandler())); LineExecuter = new ScenarioLineExecuter(new MemberInvoker(), ScenarioInterpreter, _listener); ContextFactory = new StoryContextFactory(); }
protected DriverBase(IEventBus eventBus) { //ResultListener = resultListener; _eventBus = eventBus; var assemblyRegistry = new AssemblyRegistry(GetAssemblies()); ScenarioInterpreter = new ScenarioInterpreter(new InterpreterForTypeFactory(assemblyRegistry), new MostRecentlyUsedContext(), new DefaultLanguageService()); LineExecuter = new ScenarioLineExecuter(ScenarioInterpreter, _eventBus); _context = new SessionContext(assemblyRegistry); ParameterConverter.AddCustomConverters(assemblyRegistry); }
protected DriverBase(IEventBus eventBus) { //ResultListener = resultListener; _eventBus = eventBus; var assemblyRegistry = new AssemblyRegistry(GetAssemblies()); ScenarioInterpreter = new ScenarioInterpreter(new InterpreterForTypeFactory(assemblyRegistry), new MostRecentlyUsedContext(), new DefaultLanguageService()); LineExecuter = new ScenarioLineExecuter(ScenarioInterpreter, _eventBus); _context = new SessionContext(assemblyRegistry); ParameterConverter.AddCustomConverters(assemblyRegistry); }
public InPlaceScenarioRunner(IEventBus eventBus, ScenarioInterpreter scenarioInterpreter) { _eventBus = eventBus; _scenarioInterpreter = scenarioInterpreter; _lineExecuter = new ScenarioLineExecuter(scenarioInterpreter, eventBus); }
public InPlaceScenarioRunner(IEventBus eventBus, ScenarioInterpreter scenarioInterpreter) { _eventBus = eventBus; _scenarioInterpreter = scenarioInterpreter; _lineExecuter = new ScenarioLineExecuter(scenarioInterpreter, eventBus); }