pst presents test estimation and scheduling 201006
TRANSCRIPT
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 1/23
and scheduling
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 2/23
Estimation vs. scheduling
Copyright © 2010 ps_testware
Estimation Scheduling
• Determine most likely
effort and cost
• Determine most likely
duration• Person days• Euros
• Start date• End date
• How much will it cost? • How long will it take?
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 3/23
Importance
Input for the
decision process
Copyright © 2010 ps_testware
and resourceclaims
Required practicefor TMM level 2
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 4/23
Test estimation
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 5/23
Estimating test effort
Copyright © 2010 ps_testware
Based on: Garmus & Herron; Estimating time, effort and cost; Software testing & quality engineering; STQE Publishing; Nov/Dec 1999 issue; p.32.
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 6/23
Estimating the cost of testing
Copyright © 2010 ps_testware
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 7/23
Technical factors
complicating test estimation
Copyright © 2010 ps_testware
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 8/23
A goal is not an estimate
Don't estimate what others want to hearA quick guess is not an estimate
Human factors
complicating test estimation
Copyright © 2010 ps_testware
Danger of estimating your own work
Lack of historical data
Evolving technologies introduceuncertainty
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 9/23
Producing a good estimate ...
Scope Businessgoals, risks
Dependencies
other processes
Resource
availabilties
Approach
Copyright © 2010 ps_testware
Prod. risks Proj. risks
Schedule
Deliverables
Tasks
Estimate
Effort
Size
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 10/23
Producing a good estimate ...
Scope Businessgoals, risks
Approach
Dependencies
other processes
Resource
availabiltiesRBT
TRH
Copyright © 2010 ps_testware
Deliverables
Tasks
Estimate
Effort
Size
Prod. risks Proj. risks
Schedule
WBS
WBDPBE
UCP
CPA
CCM
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 11/23
Producing a good estimate ...
Scope Business
goals, risks
Dependenciesother processes
Resourceavailabilties
Approach
Copyright © 2010 ps_testware
Deliverables
Tasks
Effort
Size
Test planSchedule
Estimate Prod. risks Proj. risks
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 12/23
Early vs. late estimates ...
Effort
Copyright © 2010 ps_testware
Time
exec
+
Testdesign
Plan
Testingtasks
Test
exec Testexec
Test
design
Plan
Test
design
Plan
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 13/23
Test sc e u ing
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 14/23
Test scheduling
Translation test plan time line,
showing– When testing tasks will be performed
– Who will perform testing tasks
–
Copyright © 2010 ps_testware
Important deliverable– Shows the feasibility of the test approach
– Understand how long testing will take– Understand resource needs
– Communicate who does what when
– Baseline for monitoring
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 15/23
Determine task durations
Determine how long each task will take
Basic formula:documentedin test plan
Copyright © 2010 ps_testware
- How many are available?
- What is practical?- Skills needed?- Holiday planning, …Not perfectly
linear
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 16/23
Schedule uncertainty
– Estimation uncertainty/errors– External dependencies
– Scope changes
Adding contingency
Copyright © 2010 ps_testware
Cascade effect– Delays add up
– Early finishes don’t
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 17/23
Contingency buffers solve the problem
Adding contingency
Copyright © 2010 ps_testware
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 18/23
Add contingency
Copyright © 2010 ps_testware
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 19/23
How to shorten the schedule?
Why shorten the schedule?
– Undo lengthening caused by resource leveling andcontingency buffers
– Make schedule meet a (realistic ) deadline
– Make up lost time
Copyright © 2010 ps_testware
Factors to consider– Impact on other project variables
– Probability of success– Attractiveness for the project or organization
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 20/23
Techniques
Project crashing
Fast-tracking
Copyright © 2010 ps_testware
LadderingPostpone non-essential testing
Adopt lighter test approach
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 21/23
Other way to deal with schedule
uncertainty
Sim le but effective techni ue
Time-boxing
Copyright © 2010 ps_testware
– Available time is divided in fixed-size “time boxes” – Tasks are allocated to time box
– Tasks may not exceed box
Works well in testing– Test design, test scripting, ….
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 22/23
Recap
Difference
ImportanceComplexity, pitfalls
Copyright © 2010 ps_testware
,
pitfalls
8/8/2019 PST Presents Test Estimation and Scheduling 201006
http://slidepdf.com/reader/full/pst-presents-test-estimation-and-scheduling-201006 23/23
Q&A
Copyright © 2010 ps_testware