The Wayback Machine - https://web.archive.org/web/20240822105526/https://www.geeksforgeeks.org/software-testing-life-cycle-stlc/
Open In App

Software Testing Life Cycle (STLC)

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

The Software Testing Life Cycle (STLC) is a systematic approach to testing a software application to ensure that it meets the requirements and is free of defects. It is a process that follows a series of steps or phases, and each phase has specific objectives and deliverables. The STLC is used to ensure that the software is of high quality, reliable, and meets the needs of the end-users.

The main goal of the STLC is to identify and document any defects or issues in the software application as early as possible in the development process. This allows for issues to be addressed and resolved before the software is released to the public.

The stages of the STLC include Test Planning, Test Analysis, Test Design, Test Environment Setup, Test Execution, Test Closure, and Defect Retesting. Each of these stages includes specific activities and deliverables that help to ensure that the software is thoroughly tested and meets the requirements of the end users.

Overall, the STLC is an important process that helps to ensure the quality of software applications and provides a systematic approach to testing. It allows organizations to release high-quality software that meets the needs of their customers, ultimately leading to customer satisfaction and business success.

Characteristics of STLC

  • STLC is a fundamental part of the Software Development Life Cycle (SDLC) but STLC consists of only the testing phases.
  • STLC starts as soon as requirements are defined or software requirement document is shared by stakeholders.
  • STLC yields a step-by-step process to ensure quality software.

In the initial stages of STLC, while the software product or the application is being developed, the testing team analyzes and defines the scope of testing, entry and exit criteria, and also test cases. It helps to reduce the test cycle time and also enhances product quality. As soon as the development phase is over, the testing team is ready with test cases and starts the execution. This helps in finding bugs in the early phase. 

Phases of STLC

1. Requirement Analysis: Requirement Analysis is the first step of the Software Testing Life Cycle (STLC). In this phase quality assurance team understands the requirements like what is to be tested. If anything is missing or not understandable then the quality assurance team meets with the stakeholders to better understand the detailed knowledge of requirements.                  

The activities that take place during the Requirement Analysis stage include:

  • Reviewing the software requirements document (SRD) and other related documents
  • Interviewing stakeholders to gather additional information
  • Identifying any ambiguities or inconsistencies in the requirements
  • Identifying any missing or incomplete requirements
  • Identifying any potential risks or issues that may impact the testing process

Creating a requirement traceability matrix (RTM) to map requirements to test cases
At the end of this stage, the testing team should have a clear understanding of the software requirements and should have identified any potential issues that may impact the testing process. This will help to ensure that the testing process is focused on the most important areas of the software and that the testing team is able to deliver high-quality results.

2. Test Planning: Test Planning is the most efficient phase of the software testing life cycle where all testing plans are defined. In this phase manager of the testing, team calculates the estimated effort and cost for the testing work. This phase gets started once the requirement-gathering phase is completed.

The activities that take place during the Test Planning stage include:

  • Identifying the testing objectives and scope
  • Developing a test strategy: selecting the testing methods and techniques that will be used
  • Identifying the testing environment and resources needed
  • Identifying the test cases that will be executed and the test data that will be used
  • Estimating the time and cost required for testing
  • Identifying the test deliverables and milestones
  • Assigning roles and responsibilities to the testing team
  • Reviewing and approving the test plan

At the end of this stage, the testing team should have a detailed plan for the testing activities that will be performed, and a clear understanding of the testing objectives, scope, and deliverables. This will help to ensure that the testing process is well-organized and that the testing team is able to deliver high-quality results.

3. Test Case Development: The test case development phase gets started once the test planning phase is completed. In this phase testing team notes down the detailed test cases. The testing team also prepares the required test data for the testing. When the test cases are prepared then they are reviewed by the quality assurance team.

The activities that take place during the Test Case Development stage include:

  • Identifying the test cases that will be developed
  • Writing test cases that are clear, concise, and easy to understand
  • Creating test data and test scenarios that will be used in the test cases
  • Identifying the expected results for each test case
  • Reviewing and validating the test cases
  • Updating the requirement traceability matrix (RTM) to map requirements to test cases

At the end of this stage, the testing team should have a set of comprehensive and accurate test cases that provide adequate coverage of the software or application. This will help to ensure that the testing process is thorough and that any potential issues are identified and addressed before the software is released.

stlc

Software Testing Life Cycle

4. Test Environment Setup: Test environment setup is a vital part of the STLC. Basically, the test environment decides the conditions on which software is tested. This is independent activity and can be started along with test case development. In this process, the testing team is not involved. either the developer or the customer creates the testing environment.

5. Test Execution: After the test case development and test environment setup test execution phase gets started. In this phase testing team starts executing test cases based on prepared test cases in the earlier step.

The activities that take place during the test execution stage of the Software Testing Life Cycle (STLC) include:

  • Test execution: The test cases and scripts created in the test design stage are run against the software application to identify any defects or issues.
  • Defect logging: Any defects or issues that are found during test execution are logged in a defect tracking system, along with details such as the severity, priority, and description of the issue.
  • Test data preparation: Test data is prepared and loaded into the system for test execution
  • Test environment setup: The necessary hardware, software, and network configurations are set up for test execution
  • Test execution: The test cases and scripts are run, and the results are collected and analyzed.
  • Test result analysis: The results of the test execution are analyzed to determine the software’s performance and identify any defects or issues.
  • Defect retesting: Any defects that are identified during test execution are retested to ensure that they have been fixed correctly.
  • Test Reporting: Test results are documented and reported to the relevant stakeholders.

It is important to note that test execution is an iterative process and may need to be repeated multiple times until all identified defects are fixed and the software is deemed fit for release.

6. Test Closure: Test closure is the final stage of the Software Testing Life Cycle (STLC) where all testing-related activities are completed and documented. The main objective of the test closure stage is to ensure that all testing-related activities have been completed and that the software is ready for release.

At the end of the test closure stage, the testing team should have a clear understanding of the software’s quality and reliability, and any defects or issues that were identified during testing should have been resolved. The test closure stage also includes documenting the testing process and any lessons learned so that they can be used to improve future testing processes

Test closure is the final stage of the Software Testing Life Cycle (STLC) where all testing-related activities are completed and documented. The main activities that take place during the test closure stage include:

  • Test summary report: A report is created that summarizes the overall testing process, including the number of test cases executed, the number of defects found, and the overall pass/fail rate.
  • Defect tracking: All defects that were identified during testing are tracked and managed until they are resolved.
  • Test environment clean-up: The test environment is cleaned up, and all test data and test artifacts are archived.
  • Test closure report: A report is created that documents all the testing-related activities that took place, including the testing objectives, scope, schedule, and resources used.
  • Knowledge transfer: Knowledge about the software and testing process is shared with the rest of the team and any stakeholders who may need to maintain or support the software in the future.
  • Feedback and improvements: Feedback from the testing process is collected and used to improve future testing processes

It is important to note that test closure is not just about documenting the testing process, but also about ensuring that all relevant information is shared and any lessons learned are captured for future reference. The goal of test closure is to ensure that the software is ready for release and that the testing process has been conducted in an organized and efficient manner.



Previous Article
Next Article

Similar Reads

Difference between SDLC and STLC
Software Development Life Cycle (SDLC) and Software Testing Life Cycle (STLC) are important parts of software engineering. SDLC has a broad scope; it consists of 6 phases: requirement analysis, design, development, testing, deployment, and maintenance. On the other hand, STLC is a subset of SDLC. It has Focused scope, specially focus on the testing
3 min read
Software paradigm and Software Development Life Cycle (SDLC)
Software paradigm refers to method and steps, which are taken while designing the software. Programming paradigm is a subset of software design paradigm which is further a subset of software development paradigm. Software is considered to be a collection of executable programming code, associated libraries, and documentation. Software development p
9 min read
Comparison of different life cycle models in Software Engineering
Software development existence cycle models are frameworks that manual the development of software program tasks from start to completion. There are several software development existence cycle fashions, every with its personal set of benefits and drawbacks. In this answer, we will compare some of the maximum popular software development life cycle
9 min read
Selection Process Parameters for a Software Life Cycle Model
Selection Process parameters plays an important role in software development as it helps to choose the best suitable software life cycle model. Following are the parameters which should be used to select a SDLC. 1. Requirements characteristics : Reliability of Requirements How often the requirements can change Types of requirements Number of requir
1 min read
Information System Life Cycle - Software Engineering
Information System Life Cycle (ISLC) is a framework used to manage the development, maintenance, and retirement of an organization's information systems. This article focuses on discussing the Information System Life Cycle in detail. What is the Information System Life Cycle (ISLC)?The ISLC is a useful framework for managing the development, mainte
6 min read
Database Application System Life Cycle - Software Engineering
This article focuses on discussing the database application system life cycle in detail. What is the Database Application Development?Database application development is the process of obtaining the following things: Real-world requirements.Analyzing the real-world requirements.To design the data and functions of the system.Implementing the operati
2 min read
Program Development Life Cycle (PDLC) - Software Engineering
The Program Development Life Cycle (PDLC) is a process used in software engineering to manage the development of software programs. The PDLC is similar to the Software Development Life Cycle (SDLC) but is applied at a higher level, to manage the development of multiple software programs or projects. This article focuses on discussing PDLC in detail
6 min read
Object-oriented Life Cycle Model - Software Engineering
The Object-Oriented Approach to Building Systems takes the objects as the basis. For this, first, the system to be developed is observed and analyzed, and the requirements are defined as in any other method of system development. Once this is often done, the objects in the required system are identified. For example, in the case of a Banking System
2 min read
Real world applications of SDLC (Software Development Life Cycle)
In this article we will study what the real-world applications of SDLC are, but first, what is SDLC? The software development life cycle (SDLC), also referred to as the application development life cycle, is a process for planning, creating, testing, and deploying an information system. The SDLC concept applies to a range of hardware and software c
7 min read
Software Development Life Cycle (SDLC)
Software development life cycle (SDLC) is a structured process that is used to design, develop, and test good-quality software. SDLC, or software development life cycle, is a methodology that defines the entire procedure of software development step-by-step. The goal of the SDLC life cycle model is to deliver high-quality, maintainable software tha
9 min read
Agile SDLC (Software Development Life Cycle)
Software Development Life Cycle (SDLC) is a process of maintaining or building software applications/services/systems. Generally, it includes various levels, from initial development plan and analysis to post-development software testing and evaluation. It also consists of the models and methodologies that development teams use to develop the softw
8 min read
Bug Life Cycle in Software Development
As we know during the development of any software product the development teams follow the Software Development Life Cycle (SDLC) processes. But the development process is not so easy and always runs smoothly. During the development process when a product is being developed different types of defects or bugs arise with the product. So these defects
9 min read
Principles of software testing - Software Testing
Software testing is an important aspect of software development, ensuring that applications function correctly and meet user expectations. In this article, we will go into the principles of software testing, exploring key concepts and methodologies to enhance product quality. From test planning to execution and analysis, understanding these princip
10 min read
Principle of Information System Security : Security System Development Life Cycle
INTRODUCTION: The Security System Development Life Cycle (SSDLC) is a framework used to manage the development, maintenance, and retirement of an organization's information security systems. The SSDLC is a cyclical process that includes the following phases: Planning: During this phase, the organization identifies its information security needs and
7 min read
Artifact Evolution Over Life Cycle
Artifact is generally used to represent cohesive information that is created and reviewed as a single entity. In an artifact, some amount of precision in description of the final system description is represented at each stage of development. The precision is very low and representation is also high early in the life cycle process. Eventually, prec
2 min read
ERP Implementation Life-Cycle
Enterprise Resource Planning (ERP) is made to automate any task. With ERP, it is easy to manage every department under one single database. This consumes not much time and is easy and fast way to do work with. Developed in 1990s, Enterprise Resource Planning is foundation system for domestic and global operations, supporting most or all functional
3 min read
Different participants of Defect Life Cycle
Defect life cycle generally varies from one organization to another and is governed and controlled by software testing process the organization or project follows or defect tracking tool generally being used. There are different participants to defect life cycle that make process successful. These participants are given below : Defect Reporter : De
3 min read
Life Cycle of Open Standard
Whenever we create business either online or in traditional way, there is an agreed way of doing things. This is known as Standards. For example, if you are planning to establish business of making bed sheets then as per standards minimum length of bed sheets need to be 7 feet in long. These standards can be formally published or an informal way un
3 min read
Document Development Life Cycle (DDLC)
Introduction : DDLC stands for Document Development Life Cycle. It is the process of writing and delivering particular content in the form of documentation (like PDF, Word document, Online articles, Website content, etc.). Nowadays, technical writers, content writers, scriptwriters, and so on are the main source of delivering and defining the purpo
12 min read
Product Development Life Cycle and its Stages
The Product Development Life Cycle is a framework used for managing the development of the Product. PDLC (Product Development Life Cycle) is an iterative approach based on feedback to ensure that all the requirements of stakeholders are satisfied. PDLC can be further divided into 7 Stages. Product Development Cycle StagesThese 8 steps have a major
5 min read
Life Cycle Phases of Data Analytics
In this article, we are going to discuss life cycle phases of data analytics in which we will cover various life cycle phases and will discuss them one by one. Data Analytics Lifecycle :The Data analytic lifecycle is designed for Big Data problems and data science projects. The cycle is iterative to represent real project. To address the distinct r
3 min read
Guidelines to Establish Defect Life Cycle
Defect life cycle, as name suggests, simply means the overall journey of a defect, starting from its identification by testing team till its fixation and closure either by development team in software testing. Defect is closed by ensuring that either defect is not reproducible or defect is rejected by development team. What is Software Defect?Softw
3 min read
Different Defect States available in Defect Life Cycle
The Defect Life Cycle, also known as the Bug Life Cycle, includes various stages that a defect goes through from identification to resolution. Each stage has a specific status that helps track the defect's progress and ensure it is properly addressed by both testing and development teams. What is Defect Life Cycle?Defect life cycle, also known as B
3 min read
PEN Testing in Software Testing
Pen testing, a series of activities taken out in order to identify the various potential vulnerabilities present in the system which any attack can use to exploit the organization. It enables the organization to modify its security strategies and plans after knowing the currently present vulnerabilities and improper system configurations. This pape
3 min read
Load Testing Basics, Tools & Practices in Software Testing
Introduction: Load testing is a type of performance testing that simulates a real-world load on a system or application to see how it performs under stress. The goal of load testing is to identify bottlenecks and identify the maximum number of users or transactions the system can handle. Some popular tools for load testing include Apache JMeter, Lo
6 min read
Basis Path Testing in Software Testing
Prerequisite - Path Testing Basis Path Testing is a white-box testing technique based on the control structure of a program or a module. Using this structure, a control flow graph is prepared and the various possible paths present in the graph are executed as a part of testing. Therefore, by definition, Basis path testing is a technique of selectin
5 min read
What is Code Driven Testing in Software Testing?
Prerequisite - TDD (Test Driven Testing) Code Driven Testing is a software development approach in which it uses testing frameworks that allows the execution of unit tests to determine whether various sections of the code are acting accordingly as expected under various conditions. That is, in Code Driven Testing test cases are developed to specify
2 min read
Decision Table Based Testing in Software Testing
What is a Decision Table : Decision tables are used in various engineering fields to represent complex logical relationships. This testing is a very effective tool in testing the software and its requirements management. The output may be dependent on many input conditions and decision tables give a tabular view of various combinations of input con
3 min read
Difference between Error Seeding and Mutation Testing in Software Testing
1. Error Seeding :Error seeding can be defined as a process of adding errors to the program code that can be used for evaluating the number of remaining errors after the system software test part. The process works by adding the errors to the program code that one can try to find & estimate the number of real errors in the code base with the he
3 min read
Response Testing in Software Testing
Software applications are developed to provide some specific service to the customers. When an end-user uses a software product/application between the software and the user, a request-response interaction takes place. This request-response interaction is one method of communication between users and systems or multiple systems in a network. When o
8 min read
Article Tags :
three90RightbarBannerImg