Beispiel #1
0
        public void Write(Feature feature)
        {
            Console.WriteLine(feature.Label);
            WriteNotes(feature.Notes, indent: NoteIndent);

            if (feature.FeatureDesription != null)
            {
                Console.WriteLine(" " + feature.FeatureDesription.Label);
                WriteNotes(feature.FeatureDesription.Notes, indent: " " + NoteIndent);
            }

            WriteUserStoryInfo(feature);
        }
Beispiel #2
0
        public void Run(Feature feature)
        {
            _consoleWriter.Write(feature);

            ExecuteAllAssertions(feature.GetAllAssertions());
        }
Beispiel #3
0
 public UserStory(string labelConcept, string labelBody, Feature parentFeature)
     : base(labelConcept, labelBody)
 {
     ParentFeature = parentFeature;
 }
Beispiel #4
0
 private void WriteUserStoryInfo(Feature feature)
 {
     foreach (var userStory in feature.UserStories)
     {
         Console.WriteLine(IndentUserStory + userStory.Label);
         WriteNotes(userStory.Notes, indent: IndentUserStory + NoteIndent);
         WriteCustomerInfo(userStory);
     }
 }
Beispiel #5
0
 public Anforderung(UserStory modelUserStory, Feature parentFeature)
     : base(parentFeature)
 {
     _modelUserStory = modelUserStory;
     ParentFeature = parentFeature;
 }