private IEnumerable <Story> GetStoriesForProject(ConfigSettings config) { var filesystemStoryReader = new FilesystemStoryReader(new Filesystem(), config); var storyProvider = new StoryProvider(filesystemStoryReader, new StoryParser()); return(storyProvider.GetStories()); }
public IEnumerable <Story> GetStories(string location) { var storyReader = new SingleFileStoryReader(new Filesystem(), ConfigSettings, location); var storyProvider = new StoryProvider(storyReader, new StoryParser()); return(storyProvider.GetStories()); }
public int Run() { var failed = Handler.HandleStories(StoryProvider.GetStories()).Failed; // hack SessionContext.Dispose(); return(failed); }
public IEnumerable <Story> Get() { return(StoryProvider.GetStories()); }
public int Run() { return(Handler.HandleStories(StoryProvider.GetStories()).Failed); }