protected void BeforeAll() { _eventBus = StorEvilEvents.Bus; _storyContext = TestSession.SessionContext(GetType().Assembly.Location).GetContextForStory(); _interpreter = new StandardScenarioInterpreter(); _scenarioLineExecuter = new ScenarioLineExecuter(_interpreter, _eventBus); }
public Classifier(AssemblyRegistry assemblyRegistry) { _parser = new StoryParser(); _scenarioInterpreter = new StandardScenarioInterpreter(assemblyRegistry); _context = new SessionContext(assemblyRegistry).GetContextForStory().GetScenarioContext(); }