What is STLC in Software Testing? The 6 Phases Explained (2026)
STLC — the Software Testing Life Cycle — is the 6-phase process from requirements analysis to test closure. Learn each phase, entry/exit criteria, and how STLC differs from SDLC.

Last updated: July 11, 2026 · 9 min read
The Software Testing Life Cycle (STLC) is the structured process QA teams follow across every release. This guide walks through all six phases with entry and exit criteria, and shows how STLC fits inside the broader SDLC. Complements our Manual Testing Complete Guide.
What is STLC?
STLC is a systematic, phase-based approach to testing software. Each phase has defined entry and exit criteria, deliverables, and owners. Following STLC keeps testing predictable, traceable, and audit-ready — which is why regulated industries (fintech, healthtech, aviation) rely on it.
The 6 phases of STLC
- Requirement Analysis — QA reads BRD/PRD, identifies testable and non-testable requirements, raises ambiguity queries.
- Test Planning — Test Lead writes the test plan: scope, approach, resources, schedule, risks.
- Test Case Design — QAs write test cases and prepare test data. Traceability matrix links each requirement to test cases.
- Test Environment Setup — DevOps/QA provisions servers, test data, integrations. Smoke test confirms environment is testable.
- Test Execution — Tests are run (manual + automated). Defects logged, retested, and closed. Daily status reports.
- Test Closure — Metrics compiled (coverage, defect density, escape rate), retrospective run, artifacts archived.
Entry & exit criteria per phase
| Phase | Entry Criteria | Exit Criteria |
|---|---|---|
| Requirement Analysis | BRD/PRD available | Testable requirements signed off |
| Test Planning | Requirements finalized | Approved test plan |
| Test Case Design | Test plan signed off | Reviewed test cases + traceability matrix |
| Environment Setup | Hardware/software list ready | Smoke test passes |
| Test Execution | Test cases + env ready | All planned tests executed, criticals fixed |
| Test Closure | Testing complete | Test summary + lessons-learned published |
STLC vs SDLC
SDLC is the entire software delivery process — requirements, design, build, test, deploy, maintain. STLC is the testing slice that runs inside SDLC. In agile teams, STLC phases compress and overlap: analysis and case design happen inside a two-week sprint, closure at sprint end.
STLC in Agile and DevOps
- Requirement analysis happens in the Three Amigos meeting (PM + Dev + QA).
- Test planning becomes a lightweight test strategy per sprint or per epic.
- Case design uses BDD/Gherkin (Cucumber docs).
- Execution shifts left — unit tests on every commit, regression nightly.
- Closure becomes continuous — dashboards, not documents.
Key STLC deliverables
- Requirement Traceability Matrix (RTM)
- Test Plan document
- Test cases and test data
- Test execution report
- Defect report
- Test summary / closure report
Continue your learning
STLC in a real 2026 Agile team: what actually happens per phase
The classic 6-phase STLC (Requirement Analysis → Test Planning → Test Case Design → Environment Setup → Test Execution → Closure) reads like a waterfall document. Below is how each phase actually maps to a 2-week Agile sprint at a modern product company.
| STLC Phase | Waterfall version | Agile 2026 version | Entry criteria | Exit criteria |
|---|---|---|---|---|
| Requirement analysis | 2-week doc review | 3-amigos meeting per story (30 min) | Story with draft acceptance criteria | Given/When/Then agreed, testability confirmed |
| Test planning | 30-page test plan | 1-page release strategy per epic, RACI, risk map | Epic scoped, environments named | Reviewed by PM + tech lead |
| Test case design | Full test cases in Zephyr | Executable BDD or checklist per story, linked to the ticket | Story kicked off | Peer-reviewed by second QA |
| Environment setup | Manual staging build | Ephemeral preview env on every PR | PR opened | Preview URL green in CI |
| Test execution | Sequential 3-day phase | Continuous during sprint + exploratory charters | Story deployed to preview | All checks green, exploratory session complete |
| Closure | End-of-project sign-off | Sprint review + retro + escaped-defect log | All stories done | Retro action items captured |
Entry and exit criteria — the discipline that separates STLC from ad-hoc testing
Every phase has explicit entry and exit criteria. Skip them and testing becomes reactive:
- Entry criteria for execution: preview env green, test data seeded, feature flag on, monitoring in place.
- Exit criteria for execution: 100% acceptance criteria covered, zero P0/P1 open, flake rate <2%, one exploratory session documented.
- Exit criteria for closure: release notes published, escaped-defect log updated, retro action items assigned owners.
STLC vs SDLC — the one-line answer that lands in interviews
SDLC is the full software delivery cycle (requirements → design → code → test → deploy → maintain). STLC is the testing subset, executed in parallel with SDLC in modern Agile teams — not as a downstream phase.
Common interview follow-ups
- Which STLC phase produces the highest ROI? — Requirement analysis. A defect caught in 3-amigos costs 100x less than one caught in production.
- Which phase gets skipped most often? — Test closure. Teams ship and move on without a retro on escaped defects.
- Who owns entry/exit criteria? — The QA lead drafts them, engineering + product ratify them at sprint planning.