private void Init() { NBehaveInitializer.Initialize(ConfigurationNoAppDomain.New.SetEventListener(NBehave.EventListeners.EventListeners.NullEventListener())); actionCatalog = TinyIoCContainer.Current.Resolve <ActionCatalog>(); stringStepRunner = new StringStepRunner(actionCatalog); runner = new FeatureRunner(stringStepRunner, TinyIoCContainer.Current.Resolve <IRunContext>()); }
public void SetUp() { CreateActionCatalog(); IStringStepRunner stringStepRunner = new StringStepRunner(actionCatalog); featureRunner = new FeatureRunner(stringStepRunner, MockRepository.GenerateStub <IRunContext>()); }
public virtual void SetUp() { hooksCatalog = new HooksCatalog(); actionCatalog = new ActionCatalog(); var runContext = new RunContext(MockRepository.GenerateStub <IContextHandler>(), new HooksHandler(hooksCatalog)); IStringStepRunner stringStepRunner = new StringStepRunner(actionCatalog); featureRunner = new FeatureRunner(stringStepRunner, runContext); }