forked from backlogs/redmine_backlogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathburndown.feature
208 lines (192 loc) · 11 KB
/
burndown.feature
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
Feature: Burndown
As a scrum master
I want to manage sprints and their stories
So that they get done according the product owner's requirements
Background:
Given the ecookbook project has the backlogs plugin enabled
And I am a scrum master of the project
And I have deleted all existing issues
And I have the following issue statuses available:
| name | is_closed | is_default | default_done_ratio |
| New | 0 | 1 | |
| Assigned | 0 | 0 | |
| In Progress | 0 | 0 | |
| Resolved | 0 | 0 | |
| Feedback | 0 | 0 | |
| Closed | 1 | 0 | |
| Accepted | 1 | 0 | |
| Rejected | 1 | 0 | 1 |
And the current time is 2011-01-01 08:00:00
And I have defined the following stories in the product backlog:
| subject |
| Story 1 |
| Story 2 |
| Story 3 |
| Story 4 |
And I have defined the following sprints:
| name | sprint_start_date | effective_date |
| Sprint siegerv | 2011-08-19 | 2011-09-02 |
And I have defined the following stories in the following sprints:
| subject | sprint | points |
| Siegerv story 1 | Sprint siegerv | 1 |
And I have defined the following tasks:
| subject | story | estimate | status |
| S.1 | Siegerv story 1 | 10 | New |
And I have defined the following sprints:
| name | sprint_start_date | effective_date |
| Sprint 001 | 2012-02-02 | 2012-02-09 |
And I have defined the following stories in the following sprints:
| subject | sprint | points |
| Story A | Sprint 001 | 1 |
| Story B | Sprint 001 | 2 |
| Story C | Sprint 001 | 4 |
And I have defined the following tasks:
| subject | story | estimate | status |
| A.1 | Story A | 10 | New |
| B.1 | Story B | 20 | New |
| C.1 | Story C | 40 | New |
Scenario: Tasks closed AFTER remaining hours is set to 0
Given I am viewing the taskboard for Sprint 001
And I have made the following task mutations:
| day | task | remaining | status |
| 1 | A.1 | 5 | In Progress |
| 1 | B.1 | 10 | In Progress |
| 2 | A.1 | 0 | |
| 2 | A.1 | | Closed |
| 2 | C.1 | 30 | In Progress |
| 3 | B.1 | 0 | |
| 3 | B.1 | | Closed |
| 3 | C.1 | 25 | |
| 4 | C.1 | 10 | |
| 5 | C.1 | 0 | |
| 5 | C.1 | | Closed |
Then the sprint burndown should be:
| day | points_committed | points_to_resolve | hours_remaining |
| start | 7 | 7 | 70 |
| 1 | 7 | 7 | 55 |
| 2 | 7 | 6 | 40 |
| 3 | 7 | 4 | 25 |
| 4 | 7 | 4 | 10 |
| 5 | 7 | 0 | 0 |
And the sprint burnup should be:
| day | points_committed | points_resolved | hours_remaining |
| start | 7 | 0 | 70 |
| 1 | 7 | 0 | 55 |
| 2 | 7 | 1 | 40 |
| 3 | 7 | 3 | 25 |
| 4 | 7 | 3 | 10 |
| 5 | 7 | 7 | 0 |
Scenario: Tasks closed BEFORE remaining hours is set to 0
Given I am viewing the taskboard for Sprint 001
And I have made the following task mutations:
| day | task | remaining | status |
| 1 | A.1 | 5 | In Progress |
| 1 | B.1 | 10 | In Progress |
| 2 | A.1 | | Closed |
| 2 | A.1 | 0 | |
| 2 | C.1 | 30 | In Progress |
| 3 | B.1 | | Closed |
| 3 | B.1 | 0 | |
| 3 | C.1 | 25 | |
| 4 | C.1 | 10 | |
| 5 | C.1 | | Closed |
| 5 | C.1 | 0 | |
Then the sprint burndown should be:
| day | points_committed | points_to_resolve | hours_remaining |
| start | 7 | 7 | 70 |
| 1 | 7 | 7 | 55 |
| 2 | 7 | 6 | 40 |
| 3 | 7 | 4 | 25 |
| 4 | 7 | 4 | 10 |
| 5 | 7 | 0 | 0 |
Scenario: New task and story added during sprint
Given I am viewing the taskboard for Sprint 001
And I have made the following task mutations:
| day | task | remaining | status |
| 1 | A.1 | 5 | In Progress |
| 1 | B.1 | 10 | In Progress |
| 2 | A.1 | 0 | |
| 2 | A.1 | | Closed |
| 2 | C.1 | 30 | In Progress |
And I have defined the following stories in the following sprints:
| subject | sprint | points | day |
| Story D | Sprint 001 | 4 | 3 |
And I have defined the following tasks:
| subject | story | estimate | status | when |
| D.1 | Story D | 40 | New | 3 |
And I have made the following task mutations:
| day | task | remaining | status |
| 3 | B.1 | 0 | |
| 3 | B.1 | | Closed |
| 3 | C.1 | 25 | |
| 4 | C.1 | 10 | |
| 4 | D.1 | 20 | In Progress |
| 5 | C.1 | 0 | |
| 5 | C.1 | | Closed |
| 5 | D.1 | 0 | |
| 5 | D.1 | | Closed |
Then the sprint burndown should be:
| day | points_committed | points_to_resolve | hours_remaining |
| start | 7 | 7 | 70 |
| 1 | 7 | 7 | 55 |
| 2 | 7 | 6 | 40 |
| 3 | 11 | 8 | 65 |
| 4 | 11 | 8 | 30 |
| 5 | 11 | 0 | 0 |
Scenario: Change sprint start date
Given I am viewing the taskboard for Sprint 001
And I have changed the sprint start date to 2012-02-03
And I have defined the following stories in the following sprints:
| subject | sprint | points | day |
| Story E | Sprint 001 | 1 | 2012-02-02 01:00:00 |
And I have changed the sprint start date to 2012-02-02
Then the sprint burnup should be:
| day | points_resolved |
| start | 1 |
| 1 | 1 |
Scenario: Closed sprint burndown
Given I am viewing the taskboard for Sprint 001
And I have made the following task mutations:
| day | task | remaining | status |
| 3 | S.1 | 0 | |
Scenario: Saturday and Sunday are included in burndown chart
Given I have configured backlogs plugin to include Saturday and Sunday in burndown
And I am viewing the taskboard for Sprint 001
And I have made the following task mutations:
| day | task | remaining | status |
| 1 | A.1 | 5 | In Progress |
| 1 | B.1 | 10 | In Progress |
| 2 | A.1 | 0 | |
| 2 | A.1 | | Closed |
| 2 | C.1 | 30 | In Progress |
| 3 | B.1 | 0 | |
| 3 | B.1 | | Closed |
| 3 | C.1 | 25 | |
| 4 | C.1 | 10 | |
| 5 | C.1 | 5 | |
| 6 | C.1 | 1 | |
| 7 | C.1 | 0 | |
| 7 | C.1 | | Closed |
Then the sprint burndown should be:
| day | points_committed | points_to_resolve | hours_remaining |
| start | 7 | 7 | 70 |
| 1 | 7 | 7 | 55 |
| 2 | 7 | 6 | 40 |
| 3 | 7 | 4 | 25 |
| 4 | 7 | 4 | 10 |
| 5 | 7 | 4 | 5 |
| 6 | 7 | 4 | 1 |
| 7 | 7 | 0 | 0 |
And the sprint burnup should be:
| day | points_committed | points_resolved | hours_remaining |
| start | 7 | 0 | 70 |
| 1 | 7 | 0 | 55 |
| 2 | 7 | 1 | 40 |
| 3 | 7 | 3 | 25 |
| 4 | 7 | 3 | 10 |
| 5 | 7 | 3 | 5 |
| 6 | 7 | 3 | 1 |
| 7 | 7 | 7 | 0 |
Scenario: View remaining hours in story view
Given I am viewing the issue named "Story A"
Then the issue should display 10 remaining hours