Exemple #1
0
        protected void BeforeAll()
        {
            _eventBus = StorEvilEvents.Bus;

            _sessionContext = TestSession.SessionContext(GetType().Assembly.Location).GetContextForStory();
            _interpreter    = TestSession.GetInterpreter(GetType().Assembly.Location);

            _scenarioLineExecuter = new ScenarioLineExecuter(_interpreter, _eventBus);
        }
Exemple #2
0
 public Classifier(AssemblyRegistry assemblyRegistry)
 {
     _parser = new StoryParser();
     _scenarioInterpreter = new StandardScenarioInterpreter(assemblyRegistry);
     _context             = new SessionContext(assemblyRegistry).GetContextForStory().GetScenarioContext();
 }