TechBeamersTechBeamers
  • Learn ProgrammingLearn Programming
    • Python Programming
      • Python Basic
      • Python OOP
      • Python Pandas
      • Python PIP
      • Python Advanced
      • Python Selenium
    • Python Examples
    • Selenium Tutorials
      • Selenium with Java
      • Selenium with Python
    • Software Testing Tutorials
    • Java Programming
      • Java Basic
      • Java Flow Control
      • Java OOP
    • C Programming
    • Linux Commands
    • MySQL Commands
    • Agile in Software
    • AngularJS Guides
    • Android Tutorials
  • Interview PrepInterview Prep
    • SQL Interview Questions
    • Testing Interview Q&A
    • Python Interview Q&A
    • Selenium Interview Q&A
    • C Sharp Interview Q&A
    • PHP Interview Questions
    • Java Interview Questions
    • Web Development Q&A
  • Self AssessmentSelf Assessment
    • Python Test
    • Java Online Test
    • Selenium Quiz
    • Testing Quiz
    • HTML CSS Quiz
    • Shell Script Test
    • C/C++ Coding Test
Search
  • Python Multiline String
  • Python Multiline Comment
  • Python Iterate String
  • Python Dictionary
  • Python Lists
  • Python List Contains
  • Page Object Model
  • TestNG Annotations
  • Python Function Quiz
  • Python String Quiz
  • Python OOP Test
  • Java Spring Test
  • Java Collection Quiz
  • JavaScript Skill Test
  • Selenium Skill Test
  • Selenium Python Quiz
  • Shell Scripting Test
  • Latest Python Q&A
  • CSharp Coding Q&A
  • SQL Query Question
  • Top Selenium Q&A
  • Top QA Questions
  • Latest Testing Q&A
  • REST API Questions
  • Linux Interview Q&A
  • Shell Script Questions
© 2024 TechBeamers. All Rights Reserved.
Reading: Software Testing Life Cycle – A Quick Guide
Font ResizerAa
TechBeamersTechBeamers
Font ResizerAa
  • Python
  • SQL
  • C
  • Java
  • Testing
  • Selenium
  • Agile Concepts Simplified
  • Linux
  • MySQL
  • Python Quizzes
  • Java Quiz
  • Testing Quiz
  • Shell Script Quiz
  • WebDev Interview
  • Python Basic
  • Python Examples
  • Python Advanced
  • Python OOP
  • Python Selenium
  • General Tech
Search
  • Programming Tutorials
    • Python Tutorial
    • Python Examples
    • Java Tutorial
    • C Tutorial
    • MySQL Tutorial
    • Selenium Tutorial
    • Testing Tutorial
  • Top Interview Q&A
    • SQL Interview
    • Web Dev Interview
  • Best Coding Quiz
    • Python Quizzes
    • Java Quiz
    • Testing Quiz
    • ShellScript Quiz
Follow US
© 2024 TechBeamers. All Rights Reserved.
Software Testing

Software Testing Life Cycle – A Quick Guide

Last updated: Jun 02, 2024 7:26 pm
By Meenakshi Agarwal
Share
11 Min Read
Software Testing Life Cycle (STLC)
Software Testing Life Cycle (STLC)
SHARE

This Software testing tutorial will help you understand the Software Testing Life Cycle (STLC) in simple and easy steps.

Contents
What is STLC? Please Explain.What are STLC Phases?Requirement Analysis (RA) PhaseTest Planning (TP) PhaseTest Case Development (TCD) PhaseTest Environment Setup (TES) PhaseTest Execution (TE) PhaseTest Cycle Closure (TCC) PhaseSummary – Software Testing Life Cycle

Understand the Software Testing Life Cycle

It is an essential topic that every software testing professional must know. Let’s decipher it step-by-step.

What is STLC? Please Explain.

STLC is an acronym for the Software Testing Life Cycle. It is a testing approach that proposes to carry out test execution in a systematic and planned way. In this model, many activities occur to improve the quality of the product.

What are STLC Phases?

The STLC model lays down the following steps:

1. Requirement Analysis
2. Test Planning
3. Test Case Development
4. Environment Setup
5. Test Execution
6. Test Cycle Closure

Requirement Analysis (RA) Phase

The requirement analysis (RA) is the first stage of the STLC model. In this step, the testing team learns what to test & determines the testable requirements. If some specifications are unclear, stakeholders like business analysts (BA), architects, and customers provide clarity.

The test team enters from the very beginning in the STLC. This helps to keep a tab on the new issues and limits their occurrence.

The test requirements in the STLC can vary from functional to non-functional areas like security, performance, and endurance. Additionally, the team can also evaluate the feasibility of automation in the.

The entry criteria in the RA phase are as follows.

1. Requirement specifications
2. Application design documents
3. Acceptance criteria

The test team performs the following tasks.

1. Provide a questionnaire for the customer-facing people.
2. List down the priority areas for testing.
3. Gather test environment details for carrying out the testing tasks.
4. Evaluate the possibility of test automation and prepare a report.

The following artifacts should originate as the output from this phase.

1. List of questions with answers from the customer-facing people.
2. Evaluation report on using automation (Optional)

Test Planning (TP) Phase

The second phase of STLC is the test planning. It is a crucial step as the team here defines the whole testing strategy for the project. Hence, it is also known as the Test strategy phase.

In this stage, the test lead has to get the effort and cost estimation done for the whole project. This phase starts soon after the RA phase is over. The outcomes of the TP include the Test Planning & Effort estimation documents. After the planning ends, the testing team can begin writing the test case development tasks.

The entry criteria in the TP phase are as follows.

1. Requirement documents (includes inputs on unclear and missing requirements).
2. Evaluation report on using automation

The test team performs the following tasks.

1. Provide a written objective & scope for the STLC cycle.
2. Mention the testing types to cover.
3. Estimate testing efforts and resource requirements.
4. Select the testing tools required.
5. Confirm the test infra requirements.
6. List down the testing schedule and set milestones.
7. Prepare a summary of the entire testing process.
8. Create a control policy.
9. Assign roles and responsibilities.
10. Outline the testing deliverables.
11. Conclude the entry criteria, suspension/resumption criteria, and exit conditions.
12. Mark the expected risks.

The following artifacts should originate as the output from this phase.

1. Test Plan (TP) document
2. Testing Effort Estimation (TEE) document

Test Case Development (TCD) Phase

The testing team starts test case development once the test planning (TP) phase is completed. In this stage of STLC, the principal activity is to write detailed test cases for the requirements.

While performing this task, they prepare the input data required for testing. Once the test plan is ready, it is reviewed by senior members or test leads.

One of the documents that the team has to produce is the Requirement Traceability Matrix (RTM). It is an industry-wide standard for ensuring the test cases are mapped with the requirement. It helps in tracking both the backward & forward direction.

The entry criteria in the TP phase are as follows.

1. Requirement documents (includes the latest changes)
2. Evaluation report on using automation

The test team performs the following tasks.

1. Write test cases.
2. Produce scripts for automation testing (Optional).
3. Gather test data required for test execution.

The following artifacts should originate as the output from this phase.

1. Detailed test cases
2. Required test data
3. Automation testing scripts (Optional)

Test Environment Setup (TES) Phase

Preparing the test environment is a time-consuming yet crucial activity in the STLC. It enables the team to determine the conditions for the application testing.

Since it is an independent task, it can run alongside test case writing. The team or any member outside the group can also help in setting up the testing environment. Some companies utilize a developer or the customer can also create or provide the testing beds. Simultaneously, the test team starts writing the smoke tests to ensure the readiness of the test infra.

The entry criteria in the TP phase are as follows.

1. The team has the test plan available.
2. Smoke tests are ready.
3. Test data is there for the individual tests.

The test team performs the following tasks.

1. Assess the need for new Software & hardware requirements.
2. Prepare the test infra.
3. Execute smoke tests and confirm the readiness of the test infra.

The following artifacts should originate as the output from this phase.

1. Test infra equipped with the test data
2. The smoke test execution report

Test Execution (TE) Phase

After the testing infra is ready, the test execution phase can start. In this stage, the team runs the test cases as per the test plan defined in the previous steps.

If a test case executes successfully, the team should mark it as Passed. If some tests fail, the defects should get logged, and the report should go to the developer for further analysis. As per the books, every error or failure should have a corresponding defect. It helps in tracing back the test case or the bug later. Once the dev team fixes it, the same test case should be executed and reported back.

If a test case fails due to some defect, it should be ignored and highlighted with the reason in the report. The test summary should show how many tests passed, failed, skipped, or did not run. It should run again after the defects are fixed and the report should show the latest state of all the test cases.

The entry criteria in the TP phase are as follows.

1. Test Plan (TP)
2. Test cases (TC)
3. Test data (TD)

The test team performs the following tasks.

1. Execute tests as per the test planning.
2. Provide test execution status showing the passed, failed, and skipped statistics.
3. Create defects for failed cases and assign them to the dev for resolution.
4. Perform re-execution of test cases that have got the defect fixes.
5. Make sure the defects get closed.

The following artifacts should originate as the output from this phase.

1. Test Case Execution Summary
2. Defect Summary

Test Cycle Closure (TCC) Phase

The testing team calls upon the meeting to evaluate the open defects, known issues, and code quality issues and accordingly decides on the closure of the test cycle.

They discuss what went well, where is the need for improvement, and note the pain points faced in the current STLC. Such information is beneficial for future STLC cycles. Each member puts his/her views on the test case & bug reports and finalizes the defect distribution by type and severity.

After the test cycle ends, the team should furnish the closure report & publish the quality metrics.

The entry criteria in the TP phase are as follows.

1. Details of the test case execution cycle
2. Execution Summary
3. Defect Summary

The test team performs the following tasks.

1. Define closure criteria by reviewing the test coverage, code quality., the status of the business objectives, and test metrics.
3. Produce a test closure report.
4. Publish best practices used in the current STLC.

The following artifacts should originate as the output from this phase.

1. Test closure report
2. Quality metrics report
3. Whitepaper on the best practices used (Optional)

Summary – Software Testing Life Cycle

We’ve tried to address the essential points of the Software Testing Life Cycle (STLC). Be sure to check out our other tutorial on product life cycle. We would love to know your feedback on this STLC tutorial.

Lastly, our site needs your support to remain free. Share this post on social media (Linkedin/Twitter) if you gained some knowledge from this tutorial.

Enjoy testing,
TechBeamers.

You Might Also Like

Postman Random APIs to Generate Unique Test Inputs

Usability vs User Acceptance Testing Simplified

3 Ideas to Improve Customer Satisfaction for Software Product

20 SQL Tips and Tricks for Performance

Amazon’s 16 Leadership Principles – Your Guide to Success

Meenakshi Agarwal Avatar
By Meenakshi Agarwal
Follow:
Hi, I'm Meenakshi Agarwal. I have a Bachelor's degree in Computer Science and a Master's degree in Computer Applications. After spending over a decade in large MNCs, I gained extensive experience in programming, coding, software development, testing, and automation. Now, I share my knowledge through tutorials, quizzes, and interview questions on Python, Java, Selenium, SQL, and C# on my blog, TechBeamers.com.
Previous Article Agile Interview Questions and Answers - Must Read Top 50 Agile Interview Questions and Answers – Must Read
Next Article Difference between Defect, Error, Bug, Failure, and Fault Difference between Defect, Error, Bug, Failure, and Fault

Popular Tutorials

SQL Interview Questions List
50 SQL Practice Questions for Good Results in Interview
SQL Interview Nov 01, 2016
Demo Websites You Need to Practice Selenium
7 Sites to Practice Selenium for Free in 2024
Selenium Tutorial Feb 08, 2016
SQL Exercises with Sample Table and Demo Data
SQL Exercises – Complex Queries
SQL Interview May 10, 2020
Java Coding Questions for Software Testers
15 Java Coding Questions for Testers
Selenium Tutorial Jun 17, 2016
30 Quick Python Programming Questions On List, Tuple & Dictionary
30 Python Programming Questions On List, Tuple, and Dictionary
Python Basic Python Tutorials Oct 07, 2016
//
Our tutorials are written by real people who’ve put in the time to research and test thoroughly. Whether you’re a beginner or a pro, our tutorials will guide you through everything you need to learn a programming language.

Top Coding Tips

  • PYTHON TIPS
  • PANDAS TIPSNew
  • DATA ANALYSIS TIPS
  • SELENIUM TIPS
  • C CODING TIPS
  • GDB DEBUG TIPS
  • SQL TIPS & TRICKS

Top Tutorials

  • PYTHON TUTORIAL FOR BEGINNERS
  • SELENIUM WEBDRIVER TUTORIAL
  • SELENIUM PYTHON TUTORIAL
  • SELENIUM DEMO WEBSITESHot
  • TESTNG TUTORIALS FOR BEGINNERS
  • PYTHON MULTITHREADING TUTORIAL
  • JAVA MULTITHREADING TUTORIAL

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

Loading
TechBeamersTechBeamers
Follow US
© 2024 TechBeamers. All Rights Reserved.
  • About
  • Contact
  • Disclaimer
  • Privacy Policy
  • Terms of Use
TechBeamers Newsletter - Subscribe for Latest Updates
Join Us!

Subscribe to our newsletter and never miss the latest tech tutorials, quizzes, and tips.

Loading
Zero spam, Unsubscribe at any time.
x