The software testing lifecycle (STLC) breaks testing into ordered phases, each with entry criteria, exit criteria and deliverables. QA teams run it alongside the software development lifecycle. Most guides teach six phases: requirement analysis, test planning, test case development, test environment setup, test execution and test cycle closure.
The International Software Testing Qualifications Board (ISTQB) counts seven test activities in its Foundation Level syllabus (version 4.0, 2023), and says they are often implemented iteratively or in parallel instead of in strict sequence. That makes the six-phase model a practitioner convention, not a standard.
What Is the Software Testing Lifecycle (STLC)?

Testing used to be a single step after coding. As software got more complex that stopped working, and the STLC grew out of the need for a more structured approach, according to Art of Testing.
Instead of one check at the end of a project, the team analyzes requirements, plans, designs tests, prepares an environment, executes and closes the cycle, in that order.
Cost data from two decades apart points the same way. A 2002 study commissioned by the US National Institute of Standards and Technology (NIST) found that over half of all software errors surfaced only downstream in development or after release. Its estimate was that better testing infrastructure would take about $22 billion off the $59.5 billion annual cost to the US economy.
The Consortium for Information and Software Quality (CISQ) published its Cost of Poor Software Quality report in 2022. Undo, a co-sponsor of the report, said it confirms that finding and fixing bugs is the largest single expense component in a software development lifecycle.
Late detection was expensive in 2002 and it still is. A phase-gated process exists to pull detection earlier.
STLC handles the testing side of the broader software quality assurance process, from the first requirement review to the final report. Its scope includes verification, which checks the product against its specification, and validation, which checks that the product meets the user’s actual need.
It covers reviewing requirements for testability, designing and running the tests, and the whole defect trail of reporting, retesting and closure. It does not cover writing the code or fixing defects. Developers do that.
What Are the Phases of the Software Testing Lifecycle?
Testing starts with requirement analysis, where testers review requirements for testability and build the requirement traceability matrix (RTM). Test planning comes next and sets scope, strategy, effort and schedule. After that, test case development covers writing and reviewing scenarios, cases, scripts and test data, while environment setup builds the environment and smoke tests the build. Execution runs the tests, logs defects and retests the fixes. Test cycle closure evaluates the results, reports them and archives everything.
Phases usually run one at a time, though airfocus notes that some can run simultaneously.
Requirement analysis
Testers read the requirements looking for gaps, contradictions and anything that cannot be tested. Questions go back to business analysts before a single test case exists.
The input is the requirements specification the business signed off, ideally with acceptance criteria attached. The output is the RTM, a table that maps each requirement to the tests that will cover it.
Along the way testers flag untestable or conflicting requirements, draft the RTM, and decide which tests are worth automating. The test lead owns this phase, with business analysts pulled in for clarifications. It’s the cheapest place to catch a problem, which is the whole reason the phase exists.
Test planning
The plan settles which features and test types are in and which are out, the test levels, the split between manual and automated work, the tools, and the effort, people and schedule needed. Risk gets its own call, meaning what gets tested first and what happens if time runs out.
A QA manager or test lead owns the output, a written test plan that stakeholders approve. In agile teams the plan is revised each sprint rather than written once and filed (The CTO Club). A short plan that gets revised beats a long one that sits in a folder.
Test case development
Test engineers turn each requirement into scenarios, then into step-level cases with expected results, and script the ones marked for automation. Design techniques such as equivalence partitioning, boundary value analysis and decision tables keep the case count manageable.
Peers review every case against the RTM before sign-off. What the phase hands over is the reviewed test cases, plus any automation scripts and the validated test data they run on.
Test environment setup
This phase builds whatever the tests run on, meaning servers, databases, devices, network settings and loaded test data. It often runs in parallel with case development, handled by test engineers together with the infrastructure team.
It ends with a smoke test, a quick run of the most critical functions to confirm the build is stable enough to test.
Late or incomplete setup pushes execution into the next sprint, a pattern Minitap flags for mobile teams. That’s the usual way this phase goes wrong.
Test execution
Test engineers run the approved cases, compare actual results with expected ones, and log each mismatch as a defect. The defect gets logged with steps, severity and evidence, a developer fixes it, and the tester retests. If it passes, it’s closed. If not, it’s reopened.
Regression runs cover the areas around each fix, and the RTM is updated with execution status as results arrive.
Scopic’s guide describes execution as the phase that exposes any shortcut taken earlier.
Test cycle closure
Measuring what escaped is the main job of closure, and plenty of teams never do it. PractiTest’s 2024 State of Testing report found that 50% of organizations do not measure the cost of defects escaping into production.
The test lead and QA manager check results against the exit criteria in the test plan, then write up what happened. The test summary report covers what was tested, the results, remaining risks and a release recommendation. A defect leakage analysis looks at which defects escaped to production and why. Last, the plan, cases, scripts and environment configuration get archived for the next cycle.
It’s also the easiest phase to skip, because the release is out and everyone has moved on. The same Scopic guide warns that skipping closure loses the knowledge the next cycle depends on.
How Do Entry and Exit Criteria Work in STLC?

A phase cannot start until its entry criteria are met, and it isn’t finished until its exit criteria are. In most setups the exit of one phase doubles as the entry of the next, so an approved RTM opens test planning and an approved test plan opens case development.
| Phase | Entry criteria | Exit criteria | Deliverables |
|---|---|---|---|
| Requirement analysis | Documented requirements, acceptance criteria | RTM signed off, scope agreed | RTM, automation feasibility report |
| Test planning | Approved RTM, feasibility report | Test plan and strategy signed off | Test plan, effort estimate |
| Test case development | Approved test plan | Cases reviewed, test data validated | Test cases, scripts, test data |
| Test environment setup | Plan and environment specs | Environment working, smoke test passed | Ready environment, smoke test result |
| Test execution | Ready environment, approved cases, test data | All planned tests run, defects retested | Execution report, defect report, updated RTM |
| Test cycle closure | Execution complete, defects triaged | Closure report approved | Closure report, metrics, lessons learned |
The table follows the criteria published by airfocus, Kualitee and The CTO Club, which agree on the chain but word individual items differently.
Nothing in the chain starts without the first link, which is well-defined acceptance criteria on every requirement. Without them, testers have nothing to trace tests against.
Exit criteria for execution usually measure thoroughness: coverage achieved, test cases executed, defect density, unresolved critical defects and pass rate. Most of those numbers come straight from how defects are tracked and closed.
ISTQB defines both terms around formally starting or completing a defined task. It also accepts budget or schedule limits as exit criteria when stakeholders formally review and accept the risk. For agile teams, the Foundation Level syllabus (version 4.0.1, 2024) maps exit criteria to the Definition of Done and entry criteria to the Definition of Ready.
Knight Capital in 2012 shows what a missing gate costs. The US Securities and Exchange Commission found the firm lacked adequate controls and procedures for code deployment and testing on its equity order router. On August 1, 2012 the router sent more than 4 million orders into the market to fill 212 customer orders, and the firm lost more than $460 million (SEC, 2013).
Strictly speaking that was a deployment failure and not a skipped STLC phase. The mechanism was the same, though. Nothing stood between an unverified change and production.
STLC vs SDLC: How Do They Differ and Where Do They Overlap?

The software development life cycle (SDLC) runs from planning all the way to maintenance. STLC only deals with verifying what gets built.
| Aspect | SDLC | STLC |
|---|---|---|
| Scope | Planning through maintenance | Testing activities only |
| Purpose | Build the system correctly | Verify it meets the requirements |
| Main owners | Developers, analysts, architects | QA team, test lead, test engineers |
| Final output | Working, deployed software | Closure report and defect log |
Does STLC run after SDLC or inside it?
Published guides disagree on where STLC sits.
InterviewBit states that STLC phases are carried out once the SDLC phases are complete. Autonoma and Testriq see it differently. They describe STLC as nested in SDLC and running alongside development, with a testing activity checking every SDLC phase that produces something testable.
Both positions hold, for different phases. Test execution needs a build, so it waits for code, while requirement analysis and test planning need only requirements and start with the first SDLC phase.
How much overlap a team gets depends on the software development lifecycle model it follows. Testriq notes that agile and DevOps teams compress and overlap the phases.
How do STLC phases map to SDLC phases?
Each SDLC phase has a testing counterpart.
Taking the seven classic SDLC phases as the reference, requirements and analysis line up with requirement analysis and a first draft of the RTM. Design lines up with test planning and the start of test case development. While coding is underway, test cases get finished and environment setup begins. The testing phase itself is where test execution and defect retesting happen. Deployment and maintenance map to test cycle closure, plus regression whenever later changes land.
What testing cannot make up for
Testing exposes defects but does not remove them.
SoftKraft frames STLC as a complement to SDLC, not a replacement for sound design. A weak design that has been thoroughly tested is still a weak design.
How Does STLC Run in Waterfall, V-Model and Agile?
The phases themselves don’t change from one process model to the next. What changes is when they happen. Waterfall runs them strictly in sequence. The V-model splits them by test level, and in agile they get compressed into every sprint.
| Model | Test planning starts | Execution runs | Main risk |
|---|---|---|---|
| Waterfall | After requirements sign-off | After code complete, in one block | Defects surface late |
| V-model | With each specification | Level by level, unit to acceptance | Heavy documentation |
| Agile and Scrum | In sprint planning | Inside the sprint, continuously | Testing bunched at sprint end |
STLC in waterfall projects
Waterfall delivers the textbook STLC. A phase finishes, its exit criteria are checked, and the next phase opens. Because nothing overlaps, the criteria work as hard gates.
The cost sits at the back of the schedule. Autonoma observes that the STLC used to run weeks behind the SDLC on most teams, so test execution and closure absorb every earlier delay.
STLC in the V-model
The V-model splits testing by level instead of treating it as one block.
In the V-model, each specification on the left side gets a paired test level on the right, and that level’s tests are designed while the specification is written. Requirements pair with acceptance testing, system design with system testing, architecture design with integration testing, and module design and coding with unit testing.
Rework’s V-model guide stresses the timing. Test planning starts the moment each specification is written, not after the build, and execution then runs in reverse order, from unit tests up to acceptance. The price is paperwork, since every level carries its own plan, cases and report.
STLC in agile and Scrum teams
Agile pulls testing into the team itself, at least in some organizations. The World Quality Report 2024-25 (Capgemini, Sogeti and OpenText, more than 1,750 senior executives surveyed) found that 40% of organizations embed quality engineers directly in their agile processes.
Inside a sprint, requirement analysis happens in backlog grooming or sprint planning, and test cases get written as acceptance criteria are defined. Execution runs while the feature is still being built, and defects are resolved before the sprint closes.
Minitap describes that per-sprint pattern, and adds that without a defined STLC, testing collapses into the last days of the sprint, when pressure peaks.
Agile methodology drops the separate testing stage altogether, according to Panaya, so the six phases survive as activities inside the sprint.
The Scrum Guide 2020 makes the Definition of Done a commitment of the Increment: a Product Backlog item that fails it cannot be released or shown at the Sprint Review. That edition also moved ownership of the Definition of Done from the Development Team to the whole Scrum Team.
STLC in CI/CD pipelines
In a pipeline, execution stops being a phase and becomes a stage that runs on every build.
Exit criteria turn into automated checks (tests pass, thresholds hold), and the pipeline flags the build when one fails. Analysis, planning and the closure review stay human work.
A typical split has unit and API tests running on every commit and smoke tests on every deployed build, while full UI regression runs on a schedule.
How Does the STLC Compare With the ISTQB Test Process and ISO/IEC/IEEE 29119?
The STLC is a practitioner model, not a standard. ISTQB describes seven test activities and ISO/IEC/IEEE 29119-2 describes three layers of test processes, and neither source uses the term STLC.
| STLC phase | ISTQB activity (CTFL 4.0) | ISO/IEC/IEEE 29119-2 process |
|---|---|---|
| Requirement analysis | Test analysis | Test design and implementation (create test model) |
| Test planning | Test planning, monitoring and control | Test strategy and planning; test monitoring and control |
| Test case development | Test design, test implementation | Test design and implementation |
| Test environment setup | Test implementation | Test environment and data management |
| Test execution | Test execution | Test execution; test incident reporting |
| Test cycle closure | Test completion | Test completion |
The mapping is approximate, because each source groups the same work differently.
ISTQB test process: seven activities
The seven are test planning, test monitoring and control, test analysis, test design, test implementation, test execution and test completion.
The Certified Tester Foundation Level syllabus (version 4.0 from 2023, maintenance release 4.0.1 from 2024) says these activities appear to follow a logical sequence but are often implemented iteratively or in parallel. The 2018 syllabus (version 3.1) listed the same seven.
Monitoring and control runs across all the others, which makes it the one activity with no STLC phase of its own.
ISO/IEC/IEEE 29119-2: three process layers
ISO/IEC/IEEE 29119-2 specifies test processes to govern, manage and implement testing in any organization, project or testing activity.
At the top, the organizational test process develops, monitors and updates the organizational test specification. The test management processes cover test strategy and planning, test monitoring and control, and test completion. Underneath sit the dynamic test processes: test design and implementation, test environment and data management, test execution and test incident reporting.
The second edition, published in October 2021, cancels and replaces the 2013 edition. Two renames and one reworked process show the change. The Test Planning Process became the Test strategy and planning process, and the Test Environment Set-Up and Maintenance Process became the Test environment and data management process. Test design and implementation now builds test models instead of deriving test conditions.
Each process is described through purpose, outcomes, activities, tasks and information items, and the 2021 edition applies to testing in all software development lifecycle models.
Why do published STLC phase counts differ?
Depending on the source, the count runs anywhere from five to eight.
| Count | Where it appears | How the work is grouped |
|---|---|---|
| Five | ISTQB fundamental test process, CTFL 2011 and earlier syllabi | Planning and control, analysis and design, implementation and execution, exit evaluation and reporting, closure |
| Six | Keploy, Testomat.io, Scopic, The CTO Club | Requirement analysis through closure, with environment setup as its own phase |
| Seven | ISTQB CTFL 2018 and 4.0 | Planning, monitoring and control, analysis, design, implementation, execution and completion, each listed as its own activity |
Software Testing Help counts eight. The disagreement is about granularity, not scope, since every version covers analysis, planning, design, execution and completion.
What the six-phase model adds is an entry and exit pair on every phase, where ISTQB sets such criteria per task and test level.
What do critics of ISO/IEC/IEEE 29119 argue?
Context-driven testers, organized through the International Society for Software Testing, petitioned against the standard in 2014 (SD Times). Cem Kaner argued in a 2014 post backing the petition that if the standard were broadly accepted, context-driven testing would become a practice professionals are told to avoid.
SD Times described the other camp as risk-based testers pushing the standard, and the same editorial added that most testers had no stake in the fight.
For a team adopting STLC, the practical reading is to treat both standards as vocabulary and mapping aids, and keep the phase gates that fit the project.
Which Metrics and Tools Show Whether an STLC Cycle Worked?
A cycle can be read through requirement coverage, pass rate, defect density and defect leakage. None of them holds up alone, so each should sit next to a second number that keeps it honest.
How are the core metrics calculated?
Requirement coverage takes the in-scope requirements with at least one executed, linked test, divides them by all in-scope requirements and multiplies by 100. Pass rate is passed tests over executed tests, times 100, and blocked and skipped counts should be reported beside it. Defect density divides confirmed defects by component size (thousand lines of code, function points or story points). Execution progress is simply executed test cases over planned ones, times 100.
Test coverage splits in two: requirement coverage, which the RTM supports, and code coverage, which tooling measures from the source.
Coverage gets read at design and execution time, pass rate and progress during execution, and density and leakage at test cycle closure. Formulas vary between teams, so ShiftAsia advises writing definitions down and aligning them with the ISTQB glossary or ISO/IEC/IEEE 29119.
Defect leakage: which definition applies?
Sources define defect leakage in two incompatible ways.
BrowserStack and Virtuoso compute it as defects found after release (or in production) divided by total defects. testRigor reserves the word for defects missed in one testing phase and found in the next, and calls defects that reach production escapes.
The defect leakage analysis in test cycle closure uses the first sense. Pick one definition and keep it fixed across cycles, or the trend line says nothing.
Which tools support which phase?

Execution tools split by the layer they test. Management tools cover cases, defects and results across every phase.
| Tool | Layer | Job in the cycle |
|---|---|---|
| Selenium | Web UI | Drives browsers through the W3C WebDriver specification |
| Cypress | Web UI, components | End-to-end and component tests in a real browser |
| Postman | API | Collection Runner tests, run in CI with the Postman CLI |
| Appium | Mobile | Native, hybrid and mobile web apps through platform drivers |
| JUnit | Unit | Java unit tests with runner and assertions |
| Jenkins | Pipeline | Runs the suite per build and publishes JUnit XML results |
Selenium drives the browser but has no assertions of its own, so it pairs with a framework such as JUnit (Selenium documentation). As of JUnit 6.0, released September 30, 2025, that framework requires Java 17 and uses one version number for the Platform, Jupiter and Vintage.
Appium drivers such as XCUITest for iOS and UiAutomator2 for Android are installed separately through the Appium driver CLI, and since version 5.0.0 the UiAutomator2 driver works only with Appium 3 (UiAutomator2 driver README).
A failing JUnit test marks the build unstable in Jenkins, so continuous integration runs double as a live source of pass rate.
Jira logs each defect as a Bug issue, the type it ships with by default, and carries it through to closure. TestRail holds test cases, runs and results, and integrates with Jira so defects link back to the tests that found them.
When does a green pass rate mislead?
A passing suite doesn’t always mean much. Google’s Testing Blog reported in 2017 that, over one week, 14% of its large tests were flaky, against 1.6% of medium tests and 0.5% of small tests.
A flaky test passes and fails on the same code, so a suite heavy on large UI tests produces a pass rate that moves without any code change.
ShiftAsia’s fix is pairing. Read pass rate next to defect leakage, and automation coverage next to test stability, so a healthy-looking number cannot hide a weak one.
When Does a Full STLC Not Fit?
Small projects and very fast ones often can’t pay for a document per phase. The compressed version keeps the gates and shrinks the paperwork.
| Option | Pros | Cons |
|---|---|---|
| Full formal STLC | Traceability through the RTM, named owners, audit trail | Documents go stale, gates slow a sprint, overhead on small work |
| Compressed STLC | Fits sprints, less paperwork | Analysis and planning get skipped, weaker audit trail |
Regulated and safety-critical work keeps the full set, because the documents double as evidence.
Testriq lists several failure modes that hit teams on either option, including treating the test plan as a one-time document and skipping requirement analysis because the stories look clear enough. Ad hoc test data is another, since it makes results hard to trust.
TestGrid adds that teams under schedule pressure drop non-functional requirements such as performance and security first, along with test planning itself.
Sources also disagree on whether the criteria are gates. Testriq says the phases describe activities, not gates, while the criteria chain treats them as gates. Both hold: the chain is a hard gate in waterfall and a checklist inside a sprint.
Automation does not repair a weak process either. The World Quality Report 2024-25 found that 57% of respondents cite a lack of comprehensive test automation strategies, and 64% cite reliance on legacy systems, as key barriers to advancing automation.
When compressing, keep the RTM, a written exit criterion for the release, and a closure review. Cut everything else first.
Software Testing Lifecycle FAQ
Which STLC phase do teams skip most often?
No survey ranks skipped phases. Testriq does name two repeat offenders, though: requirement analysis, skipped because the stories look clear enough, and test cycle closure, skipped once the release is out.
Both skips cut the feedback that improves the next cycle.
Is the STLC the same as the QA process?
No. QA covers standards, reviews and audits across the whole development lifecycle, while the STLC covers only the testing activities inside it.
Testing finds defects. QA also works to prevent them.
Is smoke testing part of STLC?
Yes. Smoke testing belongs to test execution, as the first quick check that a build is stable enough for deeper testing.
A failed smoke test sends the build back before the full test cycle starts.
How does smoke testing differ from sanity testing?
Smoke testing runs a broad, shallow check over the core functions of a new build. Sanity testing narrows in on one area after a fix or small change.
The first decides whether a build gets tested at all, and the second only whether a fix worked.
Can the STLC run without test automation?
Yes. Every phase works with manual test cases and manual execution, and automation only changes how fast execution and regression runs go.
Repeated suites are where tools such as Selenium or JUnit pay off.
Where to Start With the Software Testing Lifecycle
A team adopting the software testing lifecycle on a project with no testing process should begin with release exit criteria, so every phase has a finish line. The RTM goes in next, because it turns coverage into something countable. The closure review can wait until the first cycle has produced data to review.
The order follows dependency. Coverage cannot be counted before requirements link to tests, and a closure review has nothing to review before a cycle finishes.
The trade-off is a thin first cycle. There’s no full test plan or environment checklist, and defect triage is ad hoc until the second cycle adds them.
A new edition of the ISTQB syllabus or of ISO/IEC/IEEE 29119-2 would change the phase mapping. This position was verified against CTFL 4.0.1 (2024) and the 2021 edition of the standard on November 7, 2026.
- How to Choose a Digital Transformation Consulting Partner - November 30, 2026
- Is Notepad++ Safe? Official Download, Updates, CVEs - November 29, 2026
- How to Evaluate an AI Code Reviewer on Your Own Pull Requests - November 29, 2026



