Back to All Articles
Manual Testing

Software Testing Life Cycle (STLC)

Honnesh Muppala May 5, 2026 11 min read

What is STLC?

The Software Testing Life Cycle (STLC) is a structured sequence of activities carried out during the testing of a software product. It defines specific steps that a QA team follows to ensure the application meets quality standards and behaves as expected.

STLC is not just about executing tests — it starts from the moment requirements are available and ends only after all test activities are formally closed. Each phase has clear goals, deliverables, and criteria that must be met before moving forward.

Key Insight: STLC runs in parallel with the Software Development Life Cycle (SDLC). QA involvement starts early — during requirement gathering — not after development is complete. Early involvement significantly reduces the cost of defect detection.

The 6 Phases of STLC

STLC consists of six well-defined phases. Each phase builds on the previous one and produces specific outputs that feed into the next stage.

Phase 1: Requirement Analysis

This is the first and arguably most important phase. QA team members study the requirements — both functional and non-functional — to understand what needs to be tested.

Activities

Deliverables

Phase 2: Test Planning

In this phase, the QA lead or test manager defines the overall test strategy, estimates effort, assigns resources, and sets the testing scope.

Activities

Deliverables

Phase 3: Test Case Development

This phase involves creating detailed test cases and test scripts based on the requirements analysed in Phase 1.

Activities

Deliverables

Phase 4: Test Environment Setup

Before tests can be executed, the right environment must be ready — hardware, software, network configuration, and test data must all be in place.

Activities

Deliverables

Phase 5: Test Execution

This is the phase where actual testing happens. Testers execute test cases, log defects for failures, and retest fixes until all tests pass within the agreed scope.

Activities

Deliverables

Phase 6: Test Closure

Once all agreed exit criteria are met (or a release decision is made), the test cycle is formally closed. This phase focuses on learning and documentation.

Activities

Deliverables

Entry & Exit Criteria

Every phase has entry criteria (what must be true before the phase starts) and exit criteria (what must be true before the phase ends). This keeps the process disciplined and prevents work starting on incomplete foundations.

Phase Entry Criteria Exit Criteria
Requirement Analysis Requirements document available RTM signed off; automation feasibility done
Test Planning Requirements baselined; RTM available Test plan reviewed and approved
Test Case Development Test plan approved Test cases reviewed and signed off
Environment Setup Test plan ready; infrastructure available Smoke test passed; environment stable
Test Execution Test cases ready; environment stable; build deployed All tests executed; no critical open defects
Test Closure All exit criteria for execution met Test closure report signed off

STLC vs SDLC

A common source of confusion for new testers is the difference between STLC and SDLC. Here's a clear comparison:

Aspect SDLC STLC
Full form Software Development Life Cycle Software Testing Life Cycle
Focus Building the software Testing the software
Participants Developers, architects, PMs QA engineers, test leads
Goal Deliver working software Ensure software quality
Relationship SDLC is the parent process STLC is a subset of SDLC
Starts when Project initiation Requirements are available
From Experience: In my time at Viasat and Amazon, the teams that had the best quality outcomes were those where QA was involved from the requirement phase — not just brought in to test at the end. STLC is only as effective as how early it starts.

STLC in Agile vs Waterfall

The six STLC phases exist in both Agile and Waterfall — but how they are executed looks very different in practice.

STLC Phase In Waterfall In Agile / Scrum
Requirement Analysis Done once, upfront, from a complete BRD Done at the start of every sprint from user stories
Test Planning Full test plan created before development begins Sprint-level test plan created during sprint planning
Test Case Development All test cases written before execution phase Test cases written alongside feature development during the sprint
Environment Setup One environment set up before testing phase Environments managed continuously; Docker/CI keeps them consistent
Test Execution Single, dedicated testing phase after full development Continuous — manual + automated tests run throughout the sprint
Test Closure Done once at project end Mini-retrospective on testing at end of each sprint

Key Test Metrics in STLC

Metrics give visibility into testing progress and quality. Here are the most important ones tracked across STLC phases:

Common STLC Pitfalls

Even experienced QA teams fall into these traps. Recognising them early saves significant rework:

Practical Tip: Build a lightweight one-page STLC checklist for every project. Before sign-off, walk through: Is the RTM complete? Are all critical defects resolved or formally accepted? Have regression tests been run on the final build? Is the test closure report signed off? This takes 30 minutes and prevents 90% of the common "how did that slip through?" post-release conversations.

STLC in Agile Sprints

The traditional STLC model presents six phases as a linear sequence — each phase completing before the next begins. In Agile, this model does not disappear; it compresses. All six STLC phases still happen, but they overlap, run in parallel, and repeat every two weeks inside a sprint. Understanding how to operate STLC at sprint speed is one of the most practical skills an Agile QA engineer can develop.

Requirement Analysis: Sprint Planning and Three Amigos

In a traditional project, requirement analysis happens once, upfront, from a complete BRD. In Agile, it happens at the start of every sprint — and it happens fast. QA joins sprint planning and backlog refinement, reviewing user stories for testability and raising questions before the sprint begins. The most effective technique here is the Three Amigos meeting: the product owner, a developer, and a QA engineer sit together and walk through each story. The developer asks how it should be built; the QA engineer asks how it can break. This 30-minute conversation consistently catches ambiguities that would otherwise surface as defects in sprint review.

Test Planning: Lightweight, Per-Sprint

A traditional test plan can run to 30 pages. In Agile, test planning is a one-page document — or sometimes just a section of the sprint planning notes — that covers what will be tested, what automation will be run, what environments are available, and what the exit criteria are for this sprint's stories. It is not a bureaucratic artifact; it is a communication tool. If it takes more than an hour to write, it is too heavy.

Test Case Development: First Half of the Sprint

Test cases in Agile are written during the first half of the sprint, in parallel with development. QA does not wait for a feature to be complete before writing tests for it. User stories with clear acceptance criteria become test cases directly — each acceptance criterion maps to at least one test case. BDD (Behaviour-Driven Development) teams write these in Gherkin, giving developers, QA, and the product owner a shared language for what "done" means. By the time the first feature is ready to test, QA already has the test cases prepared.

Test Execution: Second Half of the Sprint

As features become testable — usually from day 5 or 6 of a 10-day sprint — QA begins executing tests. Manual testing covers the exploratory and complex scenarios; automation runs regression. The critical discipline here is to test features as they complete rather than waiting for all features to be done before testing any of them. Waiting until day 9 to start testing is a Waterfall pattern hiding inside an Agile ceremony structure.

Test Closure: Sprint Review and Retrospective

Sprint-level test closure is a brief review — typically 15 to 20 minutes — at the end of the sprint. It covers: what was the pass rate, how many bugs were found and resolved, what is the current automation coverage delta (did the suite grow this sprint?), and are there any carry-over test cases that need to be accounted for in the next sprint? This is not a formal sign-off document; it is a quick health check that feeds directly into the sprint retrospective.

Managing Constant Context Switching

The hardest part of STLC in Agile is not the technical work — it is the context switching. In a single day, a QA engineer might review new stories in the morning, execute tests against yesterday's feature in the afternoon, and triage a bug that just came in from the previous sprint's production deployment between those two activities. Strategies that help: time-box testing sessions rather than testing until interrupted, use a shared Kanban board to make testing state visible to the whole team, and negotiate a "QA ready" column in the sprint board so developers know when a story is ready for testing without needing a conversation.

Traditional STLC Phase Agile Equivalent Duration in 2-Week Sprint Owner
Requirement Analysis Sprint planning + Three Amigos + backlog refinement Days 1–2 QA + PO + Dev
Test Planning One-page sprint test plan during planning ceremony Day 1 (1–2 hours) QA Lead
Test Case Development Test cases written alongside feature development Days 2–6 (overlapping with dev) QA Engineer
Test Environment Setup CI/CD pipeline + Docker; environment is maintained continuously Ongoing (not a distinct phase) Dev + QA + DevOps
Test Execution Manual + automated testing as features become ready Days 5–10 QA Engineer
Test Closure Sprint review: pass rate, bugs found, automation delta Day 10 (15–20 minutes) QA Lead + Scrum Master

Back to Blog
From Experience — Amazon: At Amazon's Device OS team, the bar for defect reports was exceptionally high. Every bug required the exact build number, reproduction rate (e.g. "3 out of 5 attempts"), full environment configuration, and a video wherever possible. It felt like overhead at first — but it meant any developer could pick up a ticket and reproduce the issue immediately without back-and-forth. During Alexa and Echo release cycles, this discipline directly reduced the triage loop from days to hours. A well-written bug report is not documentation overhead — it is the fastest path to a fix.