The Wayback Machine - https://web.archive.org/web/20240815190849/https://www.geeksforgeeks.org/software-testing-estimation-techniques/
Open In App

Software Testing – Estimation Techniques

Last Updated : 12 Aug, 2024
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Test estimation is an important part of a project since test estimation plays a key role in test planning, scheduling project, and allocation of necessary resources. The following topics will be discussed here:

  1. What is Software Test Estimation?
  2. Why Test Estimation?
  3. What To Estimate?
  4. How To Estimate? 
  5. Test Estimation Best Practices
  6. Other Techniques

Let’s start discussing each of these topics in detail.

What is Software Test Estimation?

Test estimation comprises efforts contributed by Test Managers or Test Engineers for the completion of testing. Software test estimation starts with the breakdown of work using the fundamental process that includes the identification of various stages, activities, and tasks required to be performed. The set of tasks to be performed are as follows:

  • Planning of the tests and controlling their execution.
  • Design of the scenarios and Analysis.
  • Implementation of the tests and execution.
  • Evaluation of exit criteria.
  • Test Closure and final sign-off.

Identification of activities for each phase is done and then the tasks and subtasks are defined. After that, we estimate how much time these tasks and subtasks will take to be completed.

Why Test Estimation?

  • Test estimation is done to answer two critical questions, overall cost and time taken. This is an essential aspect for small projects that have a limited budget. 
  • Test estimation basically acts as a forecast that helps maintain budget and time constraints. 
  • Estimation is used to predict the efforts required and the time and cost that would be involved in completing the estimated tasks. As soon as the QA team is able to estimate the problem scenario, they can drive the situation effectively and reduce the overall time and budget constraints. 
  • Test estimation involves experienced people in its core decision-making, they are responsible for implementing best QA practices like test case points, use case point methods, etc.

What to Estimate?

  • Time: Time is one of the most critical aspects when it comes to projects as we have deadlines to meet and have SLAs in place for the delivery of projects on time.
  • Resources: Resources (people, equipment, facilities) are required for carrying out project activities. Proper utilization of resources plays a key part in optimizing available resources and estimating the timelines.
  • Cost: Cost refers to the project budget where resources and how much cost allocation is required for all the projects are defined.
  • Skillset: Skillset refers to the knowledge and the experience available among the Team members. A person having a better skillset will take less time to cover the task compared to a person having a lower skillset. This is a crucial aspect when it comes to estimation
  • Risks involved in the software and the project.

How To Estimate?

There are 4 stages to do software test estimation:

1. Divide the whole project into small tasks: In this step Work breakdown structure (WBS) technique can be used to divide a complete project into modules. The modules are divided into sub-modules. Each sub-modules is divided into functionality, thus the whole project is divided into the smallest tasks.

Work Breakdown Structure (WBS): This technique is used when the project is very large and has complex scenarios. Generally, this technique is often used when the testing team is not very sure about the test estimates. In this structure, we divide the project into simpler, and independent tasks. This is a top-down approach.

The approach of WBS:

  • Developing a goal.
  • Breaking the goal into its deliverables.
  • Breaking the deliverables into activities.
  • Further breaking the work into small and manageable components thereby allowing more time for resources.

2. Allocate each task to team members: In this step, each task is assigned to the appropriate team member in the team. 

3. Estimate the effort required to complete each task: Two techniques can be used to estimate the effort for tasks. Below are the two software test estimation techniques, Three-point estimation and Function point analysis.

Three Point Estimation: Three-point estimation is a technique that makes use of three types of costs or their duration estimates. They are as follows:

  • Optimistic (O): Best case estimation is estimated with the assumption that the effort is getting channeled correctly and nothing goes wrong. All the scenarios are positive.
  • Most Likely (M): Most likely estimation is estimated considering most of the things are going well but a problem could resurface in the future. Estimating is considered both positive and negative for specific scenarios.
  • Worst case (W): Worst case estimation is estimated considering everything goes wrong. Estimation is considered negative for all scenarios.

This technique is used for improving the accuracy of the estimates of cost or duration involved. Here, each task is broken down into minor sub-tasks, and then the results are estimated. 

The formula to calculate estimation is:

Test estimation = (O + (4 * M) + W) / 6

Here,

  • O: Estimation for best case scenarios.
  • M: Estimation for most likely case scenarios.
  • W: Estimation for worst-case scenarios.

The final result is calculated once we estimate all the case scenarios.

Example: Let us assume there is a requirement for testing the entire software application. The application has a lot of parts – Frontend, Backend, Databases, APIs, and performance testing. Now, estimating the possible scenarios:

  • Scenario 1: Team ‘A’ requires 30 man-hours to test the entire application in the best-case scenario(O) i.e. a scenario where no problem arises, everything works as expected and the resources in the team were on the same page in meeting the deadlines and no backlogs were present in the sprint sessions of the SDLC phase.
  • Scenario 2: Team ‘A‘ requires 45 man-hours to test the entire application in the most-likely scenario (M) i.e. a normal scenario where problems are expected to arise and most of the tasks would be completed with fewer backlogs in the upcoming sprints.
  • Scenario 3: Team ‘A‘ requires 60 man-hours to test the entire application in the worst-case scenario (W) i.e. a scenario where almost the entire situation goes wrong due to a lack of skilled resources or due to the fact that many of the members are newly deployed to a team.

We have three values now:

O = 30
M = 45
W = 60

The average value for the test estimation (E) can be calculated using the formula:

E =  (O + (4 * M) + W) / 6
   = (30 + 4 * 45 + 60) / 6
   = 45 man hours

Standard deviation (SD) = (W – O) / 6
                                          = (60 – 30) / 6
                                          = 5

Hence, the final estimate would be: Team ‘A’ needs 45 +/- 5 person-hours to complete the testing of the application.

Function Point Estimation: Function Point Estimation begins with identifying the functions in the software. Once the software function to be tested is identified, it is distributed among the resources available, and the time required to test each function is calculated. 

In this estimation technique, we use weights and hence calculate the estimation for entire functions that are under test by multiplying the (weight * duration). To do this, we do the following steps:

  • Identify the smallest function under test and assign the weight as One.
  • Finding the time required to test the function.
  • Identify other functions as well and similarly calculate the time to test the functions by multiplying the (weight * duration).
  • Once all functions are estimated, we add them to calculate the total effort required for conducting the testing.

This technique introduces us to the concept of functional point (FP). The FP is assigned for the modules having varying complexities – Easy, medium, and hard. The tasks which are simpler as assigned lesser points and for difficult tasks higher number of points are assigned.

Example: Let us then take the example of the same application that we took under consideration for Three-Point Estimation. The application has various components: Frontend, Backend, database, and business logic layer. Now, all of the components in the application have easy, medium, and difficult modules. Therefore, segregating the project into modules: 

Assume FP = $10 per points.

Type of module No: of modules FP (for each module) Total FP (for each module)
Easy 4 2 8
Medium 8 3 24
Difficult 3 5 15

Total FP for project = 4 * 2+ 8 * 3 +3 * 5 
                              = 47

Therefore, to complete the project we need 470$

4. Validate the estimation: Forward the estimation to the management board, who will review and approve it.

Test Estimation Best Practices

  1.  Resource planning in estimation: Resource planning and allocation play a key part in estimating the delivery of the project and meeting deadlines.  The availability of resources will not only deliver updates to key stakeholders but also assure that we set our estimations right.
  2. Taking references from past projects: Some projects may resemble each other with respect to their domain testing or open-source frameworks or the same client. Any difficulties faced in the past should be noted and care must be taken so that they do not recur in the future.
  3. Keeping some buffer time: Unforeseen circumstances can happen which include the departure of critical team members or unplanned long leaves. This could delay the scheduled timeline of the project and care must be taken to preserve some buffer time.
  4. Sticking to the Estimation: Whatever estimation we have made, we should try to adhere to that irrespective of its correctness or feasibility. Unless any major change is encountered, we should try not to modify the estimate and stick to it.
  5. Considering the Bug Cycle: The test estimation has the bug cycle included in it. The encountering of bugs causes a delay in the actual test cycle and hence the number of estimated days increases.
  6. Scope of Project: Knowing our project objective is important as it helps to estimate between small and large projects and our project delivery depends on it.  Large projects have lots of test scripts, test data, and test documents. Therefore, knowing our objective of testing and planning of deliverables plays a key role in knowing the project scope.
  7. Load Testing Plan: We need to know the estimated time if there is a requirement to perform Load Testing and hence plan the estimates accordingly.
  8. Parallel Testing: The scope of parallel testing needs to be known i.e. whether we have the previous versions of the same product for comparing the output. If there is a chance, the testing process becomes easier and product estimation can be done in a better way. 

Other Techniques:

Some other techniques used are:

1. Wideband Delphi Technique: This is a technique where experienced people participate and estimate reliably. Here, all the assumptions are taken into consideration, thoroughly discussed, and agreed upon.

Advantages:

  • This technique is particularly useful when dealing with estimating an effort for a task.
  • The technique is completely anonymous and therefore everyone expresses their opinion.
  • The technique is relatively simple.
  • All the assumptions are equally discussed as well as documented.

Disadvantages:

  • Management may not agree with the estimation every time.

2. Use-Case Point Method: Use-Case Points (UCP) method is an estimation technique used for measuring software with different use cases. This is a very simple technique as there is no additional analysis required.

Advantages:

  • They are based on use cases and hence can be measured earlier in the Software project lifecycle.
  • This technique is independent of skill, size, and experience.
  • Estimations are close to actual estimations as they are implemented by experienced team members.

Disadvantages:

  • The use cases of the UCP techniques are not uniformly structured.
  • There is a high impact of Technical and environmental factors on the UCP method.
  • More suited when the requirements are in the form of use cases and fail when the method is applied for assigning work within the Team.

3. Experience-Based Method: In this method, estimation is banked on the experience of similar projects executed by previous QA teams. This method assumes that the QA team has already tested a project of similar characteristics and uses whether estimating with this technique is feasible or not.

Advantages:

  • High precision is achieved using this estimation technique.
  • Faster Expert based estimation.

Disadvantages:

  • This technique is not suitable for teams with less skilled resources.
  • For unique projects, this technique is difficult to apply.


Similar Reads

Software Testing Techniques
Software testing techniques are methods used to design and execute tests to evaluate software applications. The following are common testing techniques: Manual testing - Involves manual inspection and testing of the software by a human tester.Automated testing - Involves using software tools to automate the testing process.Functional testing - Test
11 min read
Unit Testing, Integration Testing, Priority Testing using TestNG in Java
TestNG is an automated testing framework. In this tutorial, let us explore more about how it can be used in a software lifecycle. Unit Testing Instead of testing the whole program, testing the code at the class level, method level, etc., is called Unit Testing The code has to be split into separate classes and methods so that testing can be carried
6 min read
Split Testing or Bucket Testing or A/B Testing
Bucket testing, also known as A/B testing or Split testing, is a method of comparing two versions of a web page to see which one performs better. The goal of split testing is to improve the conversion rate of a website by testing different versions of the page and seeing which one produces the most desired outcome. There are a few different ways to
15+ min read
Selenium Testing vs QTP Testing vs Cucumber Testing
Automation testing will ensure you great results because it's beneficial to increased test coverage. Manual testing used to cover only few test cases at one time as compared to manual testing cover more than that. During automated test cases it's not all test cases will perform under the tester. Automation testing is the best option out of there. S
6 min read
Agile Testing Techniques
Testing is an integral part of software development and it goes hand in hand with the requirement creation activities. There can be a structured and systematic approach to testing in agile projects too. As there are multiple releases usually defined in Agile projects, testing plays an important role in the quality control of the product or service.
15 min read
Software Testing - Testing Retail Point of Sale(POS) Systems with Test Cases Example
POS testing refers to testing the POS application to create a successful working POS application for market use. A Point of Sale (POS) system is an automated computer used for transactions that help retail businesses, hotels, and restaurants to carry out transactions easily. What is Retail Point of Sale (POS) Testing?POS is a complex system with a
14 min read
Software Testing - REST Client Testing Using Restito Tool
REST (Representational State Transfer) is a current method of allowing two software systems to communicate. REST Client is one of these systems, whereas REST Server is another. It's a design technique that uses a stateless communication protocol like HTTP. It uses XML, YAML, and other machine-readable forms to organize and arrange data. However, JS
5 min read
Software Testing - Mainframe Testing
Mainframe testing is used to evaluate software, applications, and services built on Mainframe Systems. The major goal of mainframe testing is to ensure the application or service's dependability, performance, and excellence through verification and validation methodologies, and to determine if it is ready to launch or not. Because CICS screens are
15+ min read
Software Testing - Business Intelligence (BI) Testing with Sample Test Cases
The procedure in which gathering, cleaning, integrating, analyzing, and sharing data is done to determine actional experiences that drive business development is known as Business Intelligence (BI). Business Intelligence Testing checks the organizing information, ETL process, BI reports and guarantees the execution is right. BI Testing guarantees i
8 min read
Software Testing - Web Application Testing Checklist with Test Scenarios
Web testing or web application testing ensures that your website functions as you or your clients expect as per requirements gathered during the project's initial stages. It is a comprehensive scope that touches multiple disciplines, including usability, functionality, compatibility, security, performance, and data storage and retrieval. What is We
15+ min read
Software Testing - Mock Testing
Mock testing is the procedure of testing the code with non-interference of the dependencies and different variables like network problems and traffic fluctuations making it isolated from others. The dependent objects are replaced by mock objects which simulate the behavior of real objects and exhibit authentic characteristics. The motto of mock tes
9 min read
Software Testing - Cookie Testing
Cookie testing is the type of software testing that checks the cookie created in the web browser. A cookie is a small piece of information that is used to track where the user navigated throughout the pages of the website. The following topics of cookie testing will be discussed here: What are Cookies?Where cookies are stored?Why do we Need Cookie
5 min read
Software Testing - Insurance Domain Application Testing with Sample Test Cases
Insurance Domain Application Testing is a software testing process to test the insurance application to check if the designed insurance application meets the required customer's expectations by ensuring the quality, performance, and durability requirements of the application. The following topics of insurance domain application testing will be disc
9 min read
Software Testing - Testing Telecom Domain with Sample Test Cases
Testing the telecom domain is a process of testing the telecom applications. The Telecom domain is a vast area to test. It involves testing a lot of hardware components, back-end components, and front-end components. The various products in this domain are BSS, OSS, NMS, Billing System, etc. In the telecom domain, testing is performed to ensure tha
15+ min read
Confirmation Testing in Software Testing
This article describes Confirmation testing, one of the software testing techniques that is used to assure the quality of the software and covers the concepts of Confirmation testing that help testers in confirming that the software is bug-free by retesting the software till all bugs are fixed. Confirmation testing is a sub-part of change-based tes
8 min read
Software Testing - SOA Testing
SOA Testing is the process of evaluating a certain software where one can check web processes for functionality and make sure different components can communicate effectively throughout. Before diving deep into the testing model directly we need to understand SOA Architecture. What is SOA? Service Oriented Architecture (SOA) is an architectural str
13 min read
Software Testing - Back-to-Back Testing
Back-to-back testing is a method of comparing the performance of two or more systems or components by running them simultaneously and comparing their output. The goal of back-to-back testing is to determine if there is a significant difference in the performance of the systems or components being tested and identify any issues or defects that may e
9 min read
Software Testing - Multi-tenancy Testing
In software development, multi-tenancy refers to the ability of a software application or service to support multiple tenants or customers, each with its own unique data and configurations, on a single instance or deployment of the software. Multi-tenancy is often used in software as a service (SaaS) applications, where multiple customers or organi
15+ min read
Overview of Conversion Testing in Software Testing
Conversion Testing :Every software development process follows the Software Development Life Cycle (SDLC) for developing and delivering a good quality software product. In the testing phase of software development, different types of software testing are performed to check different check parameters or test cases. Where in each software data is an
6 min read
Data Integrity Testing in Software Testing
Every software development process follows the Software Development Life Cycle (SDLC) for the development and delivery of a good quality software product. In the testing phase of software development, different types of software testing are performed to check different check parameters or test cases. Where in each software data is an important part
5 min read
Incremental Testing in Software Testing
Incremental Testing :Like development, testing is also a phase of SDLC (Software Development Life Cycle). Different tests are performed at different stages of the development cycle. Incremental testing is one of the testing approaches that is commonly used in the software field during the testing phase of integration testing which is performed afte
3 min read
Internationalization Testing in Software Testing
Prerequisite: Software Testing Software testing is an important part of the software development life cycle. There are different types of software testing are performed during the development of a software product/service. Software testing ensures that our developed software product/service is bug-free and delivers fulfilling the desired requiremen
4 min read
Types of Regression Testing in Software Testing
Regression Testing :Regression testing is done to ensure that enhancements or defect fixes made to the software work properly and do not affect the existing functionality. It is generally done during the maintenance phase of SDLC. Regression Testing is the process of testing the modified parts of the code and the parts that might get affected due t
4 min read
Post Deployment Testing in Software Testing
Post-deployment testing is a type of testing in which the software is tested after it is deployed to production. This testing may help us find those problems that were not detected before its deployment in the production and despite all the planning and testing carried out before the final deployment, obtaining user opinion is important for the imp
3 min read
Software Testing - Bank Domain Application Testing
Banking domain application testing (BDAT) refers to testing an application that is developed especially for banks for performing all required functionalities like transactions, loan approval, managing different types of bank cards, and much more, the functionality depends on the size and type of bank. The banking industry is one of the largest user
13 min read
Challenges in Manual Testing - Software Testing
Manual testing is a type of software testing technique that is used to document tests, produce test guides based on data queries, provide temporary structures to help run tests, and measure the results of the tests. Manual testing is considered to be costly and time-consuming. In manual testing, a tester carries out tests on the software by followi
4 min read
Factors controlling the Performance Testing - Software Testing
Prerequisite: Performance Testing | Software Testing Performance Testing is conducted to discover the response time, throughput, etc., and also to execute its required functions by doing a comparison with different versions of the same product or different competitive products. It is a type of software testing that ensures that software application
3 min read
HealthCare Domain Testing with Sample Test Cases - Software Testing
HealthCare Domain Testing is the process of testing software applications that are related to the healthcare industry. This can include anything from electronic health records (EHR) to hospital administration systems. There are a variety of standards and regulations that must be met for the software to be used in the healthcare industry, so it is i
15+ min read
Testing Documentation - Software Testing
Testing documents are prepared at different stages. These documents are discussed as follows. 1. Before Testing: Since testing begins with the generation of the test cases. The following documents are required for reference – SRS document - Functional Requirements document. Test Policy document - It means the product must be tested far before relea
2 min read
Cloud Testing - Software Testing
Cloud Testing is one type of software testing in which the software applications are tested by using cloud computing services. Cloud testing intends to test the software based on functional and non-functional requirements using cloud computing services that ensure faster availability, scalability, and flexibility that saves time and cost for softwa
11 min read
Article Tags :
three90RightbarBannerImg