PMIT 6111 Lecture 6 Test Management
PMIT 6111 Lecture 6 Test Management
•
•
•
•
Testing Estimation Techniques
• The following testing estimation techniques are proven to be accurate and
are widely used −
❑PERT software testing estimation technique
❑UCP Method
❑WBS
❑Wideband Delphi technique
❑Function point/Testing point analysis
❑Percentage distribution
❑Experience-based testing estimation technique
PERT(Program Evaluation and Review Technique (PERT) Software
Testing Estimation Technique
• PERT software testing estimation technique is based on statistical methods in which
each testing task is broken down into sub-tasks and then three types of estimation
are done on each sub-tasks.
• The formula used by this technique is −
Most Likely (M) 60 minutes clear weather, clear roads, normal volume of drivers on some of the roads
Optimistic (O) 30 minutes clear weather, clear roads, no other drivers on any road
thunderstorm with rain, road blocked from multiple vehicle accidents, the highest
Pessimistic (P) 120 minutes
volume of drivers
Staying with this example, consider if asked “how long does it take you to drive to work?”. Have you ever replied with “well,
if it is a weekday at 8 am, it usually takes me 30 minutes longer than if it is a sunny weekend afternoon.” You are giving
different estimates reflecting different situations for the same activity. Using PERT analysis, the estimates go from
“guesses” to mathematically verified estimates.
Practice
•
Use-Case Point Method
➢
➢
What is Use Case ??
➢
➢
Online shopping system
UCP’S Description
➢
•
UCP Counting Process
1. Calculate Unadjusted UCP’s
•
•
Unadjusted Use Case Weight
➢
➢
Use-Case Complexity Number of Transactions Use-Case Weight
Simple ≤3 5
Average 4 to 7 10
Complex >7 15
➢
•
Determine Unadjusted Actor Weight
•
•
➢
•
Calculate Unadjusted Use case Point
•
•
(2)Adjust For technical Complexity
➢
Factor Description Weight
T1 Distributed System 2.0
Response time or
T2 throughput performance 1.0
objectives
T3 End user efficiency 1.0
Complex internal
T4 1.0
processing
T5 Code must be reusable 1.0
T6 Easy to install .5
T7 Easy to use .5
T8 Portable 2.0
T9 Easy to change 1.0
T10 Concurrent 1.0
Includes special security
T11 1.0
objectives
Provides direct access for
T12 1.0
third parties
Special user training
T13 1.0
facilities are required
➢
×
➢
Factor Description Weight (W) Rated Value (0 to 5) (RV) Impact (I = W × RV)
T8 Portable 2.0
• ×
•
Rated Value (0 Impact (I = W
Factor Description Weight (W)
to 5) (RV) × RV)
Familiar with
the project
F1 1.5
model that is Step 5
used Calculate the Environmental Factor
Application (EF) as − 1.4 + (-0.03 × EFactor)
F2 .5
experience
Object-
F3 oriented 1.0
experience
Lead analyst
F4 .5
capability
F5 Motivation 1.0
Stable
F6 2.0
requirements
F7 Part-time staff -1.0
Difficult
F8 programming -1.0
language
Total Environment Factor (EFactor)
(4) Calculate Adjusted Use Case Points
× ×
•
•
•
•
Work Breakdown Structure
•
•
Wideband Delphi Technique
• In Wideband Delphi Method, WBS is distributed to a team comprising of 3-7
members for re-estimating the tasks. The final estimate is the result of the
summarized estimates based on the team consensus.
• This method speaks more on experience rather than any statistical formula. This
method was popularized by Barry Boehm to emphasize on the group iteration to
reach a consensus where the team visualized different aspects of the problems
while estimating the test effort.
Function Point / Testing Point Analysis
•
•
•
•
•
•
• ×
•
• ×
Function Point Analysis-- Example
•
Weighting Factor
Information Domain Value Count
Simple Average Complex
External Inputs (EIs) 2 3 4 5 6
External Outputs (EOs) 2 2 4 6 4
External Inquiries (EQs) 2 3 5 8 6
Internal Logical Files (ILFs) 1 7 8 9 7
External Interface Files (EIFs) 3 5 7 10 15
Total count 38
Function Point Analysis-- Example
•
× ×
•
• ×
• ×
•
14
C𝐴𝐹 = 𝐹𝑖
𝑖=1
•
Experience-based Testing Estimation
Technique
1. This technique is based on analogies and experts.
2. The technique assumes that you already tested similar applications in
previous projects and collected metrics from those projects.
3. You also collected metrics from previous tests. Take inputs from subject
matter experts who know the application (as well as testing) very well
and use the metrics you have collected and arrive at the testing effort.
Source & Reference
•