Ejemplo n.º 1
0
 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>());
 }
Ejemplo n.º 2
0
        public void SetUp()
        {
            CreateActionCatalog();
            IStringStepRunner stringStepRunner = new StringStepRunner(actionCatalog);

            featureRunner = new FeatureRunner(stringStepRunner, MockRepository.GenerateStub <IRunContext>());
        }
Ejemplo n.º 3
0
        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);
        }