Test Process and Estimation
Test Process and Estimation
Test Process and Estimation
Pavithra Subashini
Senior lecturer
Faculty of Computing
Fundamental Test Process
Fundamental Test Process
1. Planning and control
3. Test implementation
and execution
4. Evaluating exit
criteria and reporting
5. Test closure
activities:
Fundamental Test Process cont.….
1. Planning and control:
• Defining test strategy and policies are fundamental for establishing a clear roadmap and set of
rules which could be shared with the stakeholders. This is crucial for ensuring effective testing
in a timely fashion.
• Main 6 key points for identifying required planning and control activities:
– determine scope, risks and test objectives: the goal is to make sure that each requirement
is covered by a test plan.
– determine test approach in term of test procedures, test techniques, teams, environment
and data involved: this ensures to clearly identify what's required (feasibility) from coming
testing activities.
– implement test policy/strategy previously determined.
– determine test resources (environment, people) needed so they can be planned/allocated.
– schedule all test activities: plan, design, implementation, execution, evaluation.
– determine the exit criteria which could be test coverage (% expected), number of test
executed... It's a useful step which has to be agreed with stakeholders because it
determines the end of testing and therefore software/product release.
Planning and control cont..
• All high-level design performed has now to be built in test cases and manual or automated test
procedures. So before execution, following preparation tasks are required:
– develop and prioritize our test cases by describing step by step instructions needed to
perform the test.
– create test suites or a logical collection of common test cases to execute for ensuring that
test scheduling is well managed and the feature/transaction clearly end-to-end tested.
– implement and verify the environment to make sure that it's ready and will not introduce
errors or block us in test execution.
• Then, during execution :
– ensure that test suites and individual test cases are run in the planned sequenced with the
right tools and environment.
– log the outcome of each test execution and record software/product identities and version
tested, data used, tools and environment involved. This is very important and contributes
to make sure that configuration items are well managed.
– compare actual results to expected results and provide additional information and details
on how the defect occurs, ensuring reproducibility.
– retest after the defect has been fixed and automatically perform regression test.
Fundamental Test Process cont.….
Is it art?
12
How to measure - Estimate
13
Why do we Estimate?
Overshooting Budgets Exceeding Timescales
Example of Overshooting Budgets and Timescales :
A Standish Group survey of 8,000 software projects found that
the average project exceeded its planned budget by 90 percent
and its schedule by 120 percent.
Several industry studies have reported that fewer than half of
software projects finish within their allotted schedules and
budgets.
14
Class activity
17
Steps involved in Estimation
Identify scope
State assumptions
Step 3 - Define an
Estimate Per
Function Point
Based on similar
Projects Experience.
Organization/Project
Standards.
23
Function Point Method – Step 4
24
Function Point Method - Example
Function
Weightage Points Total
Simple 1 35
35
Medium 3 20 60
Complex 5 5 25
25
To Conclude - Few Tips
• Allow enough time to do a proper Project Estimate.
• Use documented data from similar past Projects.
• Use Own Estimates.
• Use several different people to Estimate.
• Re-Estimate the Project several times throughout its
lifecycle.
• Create a standardized estimation procedure.
• Focus some effort on improving organization’s software
Project estimation
process.
26
Summary
27