forked from backlogs/redmine_backlogs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrelease_burndown.feature
155 lines (144 loc) · 7.26 KB
/
release_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
Feature: Release burndown
As a product owner
I want to analyze the progress of my releases
So that i can get a feeling for the projects progress
Background:
Given the ecookbook project has the backlogs plugin enabled
And no versions or issues exist
And I am a product owner of the project
And I have the following issue statuses available:
| name | is_closed | is_default | default_done_ratio |
| New | 0 | 1 | |
| In Progress | 0 | 0 | |
| Feedback | 0 | 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 sprints:
| name | sprint_start_date | effective_date |
| Sprint 001 | 2011-01-02 | 2011-01-08 |
| Sprint 002 | 2011-01-09 | 2011-01-15 |
| Sprint X | | |
And I have defined the following releases:
| name | project | release_start_date | release_end_date |
| Rel 1 | ecookbook | 2011-01-02 | 2011-01-31 |
And I have defined the following stories in the product backlog:
| subject | release | points |
| Story 1 | Rel 1 | 2 |
| Story 2 | Rel 1 | 7 |
| Story 5 | | 40 |
Scenario: View initial release burndown before release start date
Given I view the release page
Then release "Rel 1" should have 0 sprints
And show me the burndown data for release "Rel 1"
And the release burndown for release "Rel 1" should be:
| sprint| backlog_points | closed_points | added_points |
| start | 9 | 0 | 0 |
Scenario: Simple release burndown
Given I view the release page
And I have defined the following stories in the following sprints:
| subject | sprint | release | points |
| Story A | Sprint 001 | Rel 1 | 2 |
| Story B | Sprint 002 | Rel 1 | 3 |
Given I have made the following story mutations:
| day | story | status |
| 1 | Story A | In Progress |
| 2 | Story A | Accepted |
| 3 | Story B | Feedback |
| 4 | Story B | Rejected |
And the current time is 2011-01-31 23:00:00
Then release "Rel 1" should have 2 sprints
And show me the burndown data for release "Rel 1"
#points at the end of the corresponding sprint
And the release burndown for release "Rel 1" should be:
| sprint| backlog_points | closed_points | added_points |
| start | 14 | 0 | 0 |
| 1 | 12 | 2 | 0 |
| 2 | 9 | 2 | 0 |
Scenario: load burndown csv
Given I request the csv format for release "Rel 1"
Then the request should complete successfully
Scenario: Story closed after sprint end date should appear closed in the original sprint
Given I view the release page
And I have defined the following stories in the following sprints:
| subject | sprint | release | points |
| Story A | Sprint 001 | Rel 1 | 2 |
| Story B | Sprint 002 | Rel 1 | 3 |
And the current time is 2011-01-12 23:00:00
And I accept story Story A
Then show me the burndown data for release "Rel 1"
And the release burndown for release "Rel 1" should be:
| sprint| backlog_points | closed_points | added_points |
| start | 14 | 0 | 0 |
| 1 | 12 | 2 | 0 |
| 2 | 12 | 2 | 0 |
And the current time is 2011-01-16 23:00:00
Then show me the burndown data for release "Rel 1"
And the release burndown for release "Rel 1" should be:
| sprint| backlog_points | closed_points | added_points |
| start | 14 | 0 | 0 |
| 1 | 12 | 2 | 0 |
| 2 | 12 | 2 | 0 |
| 3 | 12 | 2 | 0 |
Scenario: Release burndown with parallel sprint end dates merged
Given I view the release page
And I have defined the following sprints:
| name | sprint_start_date | effective_date |
| Sprint 001a | 2011-01-02 | 2011-01-08 |
And I have defined the following stories in the following sprints:
| subject | sprint | release | points |
| Story A | Sprint 001 | Rel 1 | 2 |
| Story B | Sprint 002 | Rel 1 | 3 |
| Story C | Sprint 001a | Rel 1 | 4 |
And I have made the following story mutations:
| day | story | status |
| 1 | Story A | Accepted |
| 3 | Story C | Accepted |
And the current time is 2011-01-12 23:00:00
Then show me the burndown data for release "Rel 1"
And the release burndown for release "Rel 1" should be:
| sprint| backlog_points | closed_points | added_points |
| start | 18 | 0 | 0 |
| 1 | 12 | 6 | 0 |
| 2 | 12 | 6 | 0 |
Scenario: Close story in release but after sprint end date
Given I view the release page
And the current time is 2011-01-07 23:00:00
And I accept story Story 1
And the current time is 2011-01-12 23:00:00
Then show me the burndown data for release "Rel 1"
And the release burndown for release "Rel 1" should be:
| sprint| backlog_points | closed_points | added_points |
| start | 9 | 0 | 0 |
| 1 | 7 | 2 | 0 |
Scenario: Close story in release but before sprint start date
Given I view the release page
And I accept story Story 1
And the current time is 2011-01-12 23:00:00
Then show me the burndown data for release "Rel 1"
And the release burndown for release "Rel 1" should be:
| sprint| backlog_points | closed_points | added_points |
| start | 7 | 2 | 0 |
| 1 | 7 | 2 | 0 |
# Expecting to see story closed before the sprint
Scenario: Add story from release to sprint without start/end date
Given I view the release page
And I have defined the following stories in the following sprints:
| subject | sprint | release | points |
| Story X | Sprint X | Rel 1 | 2 |
Then show me the burndown data for release "Rel 1"
# Scenario: Add complexity by re-estimating a story
# Given the current time is 2011-01-15 08:00:00
# When I update story "Story 3" to 13 story points
#
# Scenario: Add a story to running release
# Given the current time is 2011-01-15 08:00:00
# When I add a story to release "Rel 1"
#
# Scenario: Split a story
# Given the current time is 2011-01-31 08:00:00
# When I copy story "Story A" into "Story A.cont"
# When I reject story "Story A"
# When update story "Story A.cont" to 5 story points
#
# Scenario: reject and re-open a story