Example #1
0
 public void testFeature(Task t)
 {
     if (isFeatureAcceptable(t))
     {
         // feature acceptable and done
     }
     else
     {
         // move to backlog
         TeamLeader.UserStory story = t.getStory();
         Team.getRelease(story.release).removeTask(t);
         Team.Leader.refactorUserStory(story, "Random notice from tester");
     }
 }
Example #2
0
        public Task createTask(TeamLeader.UserStory s)
        {
            // Schätzung des Aufwands etc.
            // Nicht sicher ob das hier nur Pseudo Code sein sollte oder echte Berechnungen ?
            Release r = getRelease(s.release);

            int  newEST = 0;
            Task t      = new Task(r, s.title, s.description, s.est, s.notice);

            t.setStory(s);

            // if priority high enough take into current sprint
            Roadmap[s.release].addTask(t);
            // if-end

            // if (Math.Abs(newEST - s.est) <= 5) {
            return(t);    // Estimated time correct; create task
            //} else {
            //return null; // Estimated time incorrect; cancel task
            //}
        }
Example #3
0
 public void setStory(TeamLeader.UserStory story)
 {
     Story = story;
 }