public FeatureResults Run()
        {
            var runner  = new TextRunner(_configuration);
            var results = runner.Run();

            return(results);
        }
		protected void Run(Stream scenario)
		{
			var runner = new TextRunner(_eventListener) { StoryRunnerFilter = _storyRunnerFilter };

			_actionStepAssemblies.ToList().ForEach(runner.LoadAssembly);
			runner.Load(scenario);
			runner.Run();
		}
Exemple #3
0
        protected void Run(Stream scenario)
        {
            var runner = new TextRunner(_eventListener)
            {
                StoryRunnerFilter = _storyRunnerFilter
            };

            _actionStepAssemblies.ToList().ForEach(runner.LoadAssembly);
            runner.Load(scenario);
            runner.Run();
        }
Exemple #4
0
        public override void ExecuteRecursive(TaskExecutionNode node)
        {
            var asm = node.RemoteTask as NBehaveAssemblyTask;

            if (asm == null)
            {
                return;
            }
            Initialize(node);

            var featureTasks = GetFeatureTasks(node);

            NotifyTasksStarting(featureTasks.ToList());
            var runner = new TextRunner(config);

            runner.Run();
        }