public IEnumerable<Core.Story> CreateTwoStoriesEachWithTwoScenariosWithThreeStepsOfFiveMilliseconds()
        {
            var storyMetaData1 = new StoryMetaData(typeof(RegularAccountHolderStory), "As a person", "I want ice cream", "So that I can be happy", "Happiness");
            var storyMetaData2 = new StoryMetaData(typeof(GoldAccountHolderStory), "As an account holder", "I want to withdraw cash", "So that I can get money when the bank is closed", "Account holder withdraws cash");
            var stories = new List<Core.Story>()
            {
                new Core.Story(storyMetaData1, GetScenarios()),
                new Core.Story(storyMetaData2, GetScenarios())
            };

            return stories;
        }
Beispiel #2
0
 public Story(StoryMetaData metaData, params Scenario[] scenarios)
 {
     MetaData = metaData;
     Scenarios = scenarios.OrderBy(s => s.Title).ToList();
 }
Beispiel #3
0
 public Story(StoryMetaData metaData, params Scenario[] scenarios)
 {
     MetaData  = metaData;
     Scenarios = scenarios.OrderBy(s => s.Title).ToList();
 }