Example #1
0
        public static void Run()
        {
            UserStory userStory = new UserStory();

            userStory.RemoveFromBacklog();
            userStory.MoveToBacklog();
            userStory.StartImplementation();
            userStory.AcceptanceTestsFail();
            userStory.StartImplementation();
            userStory.AcceptanceTestsPassed();
            userStory.StartImplementation();

            userStory.CodeFinishedAnUnitTestsPassed();

            userStory.AcceptanceTestsPassed();

            Console.WriteLine("User story state: {0}", userStory.State.Name);
        }