Академический Документы
Профессиональный Документы
Культура Документы
Presented By:
Shaun Bradshaw
Director of Quality Solutions
Questcon Technologies
Objectives
Slide 2
The S-Curve
The S-Curve
Test Metrics Graph - Passed
100
80
Test Cases
60
40
20
0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Days
Slide 3
Test Management Using S-Curves
Whatis
isan
anS-Curve?
S-Curve?
Successfully managing
What
a test effort requires
the ability to make
Whatmakes
makesitit
objective and accurate
What
anS
an Sshape?
shape? estimates of the time
and resources needed
to stay on schedule.
Howis
How isititused?
used? The S-Curve is one
method for doing this.
Slide 4
Test Management Using S-Curves
What is
What is an
an S-Curve?
S-Curve?
An S-Curve is a graphical
representation of the
Whatmakes
What makesitit cumulative work effort, or a
anS
an Sshape?
shape?
subset of the work effort, of a
software project.
S-Curves can be used to describe
projects as a whole, development
Howis
How isititused?
used? efforts, and test efforts, as well as
defect discovery rates.
We will focus on how S-Curves are
used to manage test execution and
defect discovery rates.
Slide 5
Test Management Using S-Curves
Slide 6
Test Management Using S-Curves
Whatmakes
What makesitit Measure test progress by
anS
an Sshape?
shape? comparing the actual test
curve to a theoretical S-Curve
Use the curve to determine if
How is
is it the
it used?
used? application is
How stable
enough to be
released
Slide 7
The Theoretical S-Curve
5 19.28% 19 60
6 32.82% 33
7 49.28% 49 40
8 65.43% 65
20
9 78.40% 78
10 87.30% 87 0
11 92.80% 93 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
12 96.00% 96 Days
13 97.79% 98
14 98.78% 99
15 99.33% 99
Slide 9
The Actual Test Curve
Test Metrics Graph - Passed
110
100
90
80
Test Cases Passed
70
60
50
By plotting the actual
40
30 cumulative number of
test cases passed or the
20
10
0
cumulative number of
1 2 3 4 5 6 7 8 9 10
Days
24
theoretical curve, we are
21
12
0
1 2 3 4 5 6 7 8 9 10 effort, which will be
explained later.
Days
Slide 10
The Actual Test Curve
Test Metrics Graph - Passed
Test Metrics Graph - Passed
110
100
90
80 110
Test Cases Passed
70
60
50
100 By plotting the actual
40
30
90
cumulative number of
80
test cases passed or the
20
10
TCs/Failures
0 70
cumulative number of
1 2 3 4 5 6 7 8 9 10
60 Days
50
defects found during a
Num Passed Theoretical Curve
40
30 test effort and comparing
20 Test Metrics Graph - Defects
the resulting graph to the
30
10
27
18
1 2 3 4 5 able6 to 7quickly 8 and9 10
Failures
12
6 Curve
3
0
1 2 3 4 5 6 7 8 9 10 effort , which will be
explained later.
Days
Slide 11
The Actual Test Curve
Test Metrics Graph - Passed
110
100
90
80
Test Cases Passed
21
defects found during a
Num Passed Theoretical Curve
18
F ailu res
15
test effort and comparing
30
12
Test Metrics Graph - Defects
the resulting graph to the
27
24
9 theoretical curve, we are
21
18
6
able to quickly and
Failures
3
objectively identify risks
15
12
0
and/or issues 8 in the test
9
6
1 2 3 4 5 6 7 9 10
3
0
1 2 3 4 5 6 7 8 9 10 effort , which will be
Days
explained later.
Days
Total Failures Theoretical Curve
Total Failures Theoretical Curve
Slide 12
Analyzing S-Curves
175
150
125
100
TCs
75
50
25
0
1 2 3 4 5 6 7 8 9 10
Days
Slide 13
Analyzing S-Curves
Potential Causes
Corrective Actions
Request an emergency fix from development team to
correct the defect(s) causing tests to be blocked
Request additional test resources
Re-evaluate test case execution prioritization to ensure
the most critical functionality can be tested prior to
release
Slide 14
Analyzing the Graph
80
70
60
50
Failures
40
30
20
10
0
1 2 3 4 5 6 7 8 9 10
Days
Slide 15
Analyzing S-Curves
Potential Causes
Underestimated the number of defects in the release
Development team releases bug fixes with defects
still present
Corrective Actions
Re-evaluate average defect rate related to this type of
application or project
Request the Development Lead to enforce unit testing
and/or peer-code reviews before releasing fixes to test
Slide 16
The Zero Bug Bounce
16
Open Defects
14
12
10
0
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
Slide 17
Tracking Defects
Slide 18
Tracking Defects
Slide 19
Defect Management with the Zero Bug Bounce
What is the Zero Bug Bounce?
The Zero Bug Bounce (ZBB) is a defect management technique made
popular by Microsoft. Strictly speaking, it is the point in the test effort of
a project when the developers have corrected ALL open defects and
they have essentially caught up with the test teams defect discovery
rate. The bounce occurs when the test team finds additional defects
and the development team must again begin defect correction activities.
After the initial bounce occurs, peaks in open defects will become
noticeably smaller and should continue to decrease until the application
is stable enough to release to production. This is what I call the ripple
effect of the ZBB.
Slide 20
Defect Management with the Zero Bug Bounce
How do you track the ZBB?
The Zero Bug Bounce is tracked by charting the number of Open
defects at the end of each day during test execution.
16
Open Defects
14
12
10
0
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
Slide 21
Defect Management with the Zero Bug Bounce
Some Notes On the ZBB
The bounce does not always happen at zero
The initial bounce typically occurs near the end of test
execution
There IS a ripple effect
Use the height and length of the ripple effect, in addition to
the timing of the initial bounce, to determine if the
application is stable enough to be released to production
Slide 22
Analyzing the Graph
Question
Is the application under test stable enough to release
into the production environment?
Zero Bug Bounce
100
Open Defects
90
80
70
60
50
40
30
20
10
0
10
11
12
13
14
15
16
17
18
19
20
21
22
23
25
26
27
28
30
31
32
24
29
33
1
2
3
4
5
6
7
8
9
Answer
Possibly, but not likely. There is a significant chance
that a ripple effect will occur.
Slide 23
Analyzing the Graph
Question
What is wrong with this picture? Can the application
be released in 2 days?
Zero Bug Bounce
60
Open Failures
50
40
30
20
10
0
1 2 3 4 5 6 7 8 9 10
Answer
The developers are not correcting the defects in a
timely manner. The application should not be released
in 2 days.
Slide 24
Conclusion
Slide 26