{"id":2673,"date":"2019-11-21T23:27:32","date_gmt":"2019-11-21T21:27:32","guid":{"rendered":"https:\/\/betterqa.co\/?p=2673"},"modified":"2026-09-14T11:56:17","modified_gmt":"2026-09-14T09:56:17","slug":"stlc-software-testing-life-cycle","status":"publish","type":"post","link":"https:\/\/betterqa.co\/stlc-software-testing-life-cycle\/","title":{"rendered":"STLC: the six phases of the software testing life cycle"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"2673\" class=\"elementor elementor-2673\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1286e32 elementor-section-full_width elementor-section-height-default elementor-section-height-default\" data-id=\"1286e32\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-422475a\" data-id=\"422475a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-0f79ffe elementor-widget elementor-widget-html\" data-id=\"0f79ffe\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"html.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<style>\n.bqa-art{max-width:780px;margin:0 auto;padding:8px 0 24px;font-family:'Roboto',-apple-system,'Segoe UI',Arial,sans-serif;color:#2b2b3a;font-size:17px;line-height:1.75}\n.bqa-art h2{font-family:'Jost','Roboto',Arial,sans-serif;font-weight:600;font-size:1.7rem;color:#1a1a1a;margin:2.2em 0 .6em;line-height:1.3}\n.bqa-art h3{font-family:'Jost','Roboto',Arial,sans-serif;font-weight:600;font-size:1.3rem;color:#1a1a1a;margin:1.8em 0 .5em;line-height:1.35}\n.bqa-art p,.bqa-art ul,.bqa-art ol{margin:0 0 1.1em}\n.bqa-art li{margin:0 0 .4em}\n.bqa-art a{color:#5F29A1;text-decoration:underline}\n.bqa-art .bqa-tbl{overflow-x:auto;margin:1.2em 0 1.6em}\n.bqa-art table{width:100%;border-collapse:collapse;font-size:.95rem}\n.bqa-art th,.bqa-art td{border:1px solid #e2dcef;padding:.6em .8em;text-align:left;vertical-align:top}\n.bqa-art th{background:#f4effc;font-weight:600}\n.bqa-art pre{background:#1e1b2e;color:#ecebf5;padding:1em 1.2em;border-radius:6px;overflow-x:auto;font-size:.85rem;line-height:1.55;margin:1.2em 0 1.6em;white-space:pre}\n.bqa-art code{font-family:'JetBrains Mono',ui-monospace,Menlo,Consolas,monospace;font-size:.9em}\n.bqa-art :not(pre)>code{background:#f4effc;padding:.1em .35em;border-radius:3px}\n.bqa-art pre code{background:none;padding:0;color:inherit}\n.bqa-art blockquote{border-left:4px solid #9152DE;margin:1.2em 0;padding:.4em 1.1em;background:#faf8fe}\n.bqa-art hr{border:0;border-top:1px solid #e2dcef;margin:2em 0}\n<\/style>\n<div class=\"bqa-art\">\n<div class=\"bqa-short-answer\" style=\"background:#f8f5fd;border-left:4px solid #9152DE;border-radius:10px;padding:18px 20px;margin:0 0 28px\"><p style=\"text-align:left;margin:0 0 8px;font-weight:700;color:#461780\">Short answer<\/p><p style=\"text-align:left;margin:0\">STLC, the software testing life cycle, is the sequence of six phases a testing effort follows: requirements analysis, test planning, test case development, test environment setup, test execution, and test cycle closure. Each phase has entry criteria that say when it may start and exit criteria that say when it is finished. Some guides count seven phases by splitting one of these in two; the work is the same.<\/p><\/div>\n<p>The software testing life cycle (STLC) is the sequence a test effort runs through, from reading the requirement to signing off the release. It exists so that testing is a process with defined start and stop conditions rather than a period of time that ends when someone runs out of patience.<\/p>\n<p>Most teams already do a version of it informally. Writing it down as phases matters for one reason: each phase has an entry condition that says whether you are allowed to start, and an exit condition that says whether you are allowed to stop. Without those two, \"testing is done\" means \"the sprint ended\", which is not the same claim.<\/p>\n<h2>What STLC means<\/h2>\n<p>STLC stands for software testing life cycle. It covers the testing activity only. The software development life cycle, SDLC, covers building the product; the STLC sits inside it and runs against whatever the SDLC produces.<\/p>\n<p>The phases are not a schedule. In a sequential project they run once, end to end. In a two-week sprint they run every sprint, compressed, with several of them overlapping. The syllabus (CTFL 4.0.1, section 1.4.1) points out that these activities may look sequential but are often carried out iteratively or in parallel, so read the order as a guide, not a rule.<\/p>\n<h2>Six phases or seven?<\/h2>\n<p>Search for this and you will get both numbers, which is the first thing that confuses people. Both are correct, and the difference is one boundary.<\/p>\n<p>The six-phase version treats test environment setup as its own phase. The seven-phase version splits requirements analysis into two, separating the study of the requirement from the decision about what is feasible to test, and some sources instead split execution into execution and defect reporting. A few merge environment setup into test case development and get five.<\/p>\n<p>None of this changes the work. The activities are identical; only the lines drawn between them move. If you are answering an exam question, use the numbering in the syllabus you were taught. For reference, CTFL 4.0.1 (section 1.4.1) calls this the test process and lists seven groups of activities: test planning, test monitoring and control, test analysis, test design, test implementation, test execution and test completion. Its test completion is what this article calls cycle closure. If you are running a project, the number is irrelevant and the entry and exit criteria are the whole point. This article uses six because the environment is where projects most often stall, and a phase that has no name gets no owner.<\/p>\n<h2>What are the stages of software testing?<\/h2>\n<p>The stages of software testing are the six STLC phases: requirements analysis, test planning, test case development, test environment setup, test execution and test cycle closure. People also use \"stages\" for the four testing levels, which are unit, integration, system and acceptance testing. The phases describe how testing is run; the levels describe what gets tested.<\/p>\n<p>Both answers are correct, and most confusion comes from mixing them. A list that reads \"planning, unit testing, execution, UAT\" has merged two different ideas. Keep them apart and both become easier to use: the phases give you a process with start and stop conditions, and the levels tell you which part of the system each test is aimed at.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr><th><\/th><th>STLC phases<\/th><th>Testing levels<\/th><\/tr>\n<\/thead>\n<tbody>\n<tr><td><strong>What they describe<\/strong><\/td><td>The order of testing work<\/td><td>The size of the thing under test<\/td><\/tr>\n<tr><td><strong>The list<\/strong><\/td><td>Requirements analysis, planning, case development, environment setup, execution, closure<\/td><td>Unit, integration, system, acceptance<\/td><\/tr>\n<tr><td><strong>Who usually owns it<\/strong><\/td><td>The QA lead<\/td><td>Developers for unit, QA for integration and system, the business for acceptance<\/td><\/tr>\n<tr><td><strong>How they connect<\/strong><\/td><td colspan=\"2\">Every level goes through the phases. System testing, for example, has its own planning, cases, environment, execution and closure.<\/td><\/tr>\n<\/tbody>\n<\/table><\/div>\n<h2>The six phases, with entry and exit criteria<\/h2>\n<p>The table is the part worth keeping. A phase without a stated exit condition tends to end when the next phase's deadline arrives.<\/p>\n<h3>1. Requirements analysis<\/h3>\n<p>The testers read the requirement and work out what can be tested and how. This is also the cheapest defect detection in the whole cycle, because ambiguity found here costs a conversation and the same ambiguity found in execution costs a rebuild.<\/p>\n<p>The question that earns its keep: \"how would I prove this is wrong?\" A requirement nobody can fail is not a requirement, it is a hope. \"The page should load fast\" fails that test. \"The product listing renders within 2 seconds at the 95th percentile on a throttled 4G connection\" passes it.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Entry<\/strong><\/td>\n<td>Requirements, user stories or specs exist in some reviewable form<\/td>\n<\/tr>\n<tr>\n<td><strong>Exit<\/strong><\/td>\n<td>Every requirement is marked testable, untestable or needs clarification, and the open questions are logged against a named person<\/td>\n<\/tr>\n<tr>\n<td><strong>Deliverables<\/strong><\/td>\n<td>Requirement traceability matrix, list of open questions, automation feasibility note<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h3>2. Test planning<\/h3>\n<p>The lead decides scope, approach, effort, environments, tools and risk. In a sprint this is twenty minutes and a paragraph in the ticket. On a regulated project it is a controlled document under ISO\/IEC\/IEEE 29119.<\/p>\n<p>The plan is where the exit criteria for the whole cycle get written, and they should be written as numbers you can check rather than adjectives. \"All critical and high defects closed, no more than 3 medium defects open with documented workarounds, 100% of priority-1 test cases executed, 95% passed\" is checkable. \"Quality is acceptable\" is not.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Entry<\/strong><\/td>\n<td>Requirements analysis complete, scope of the release known<\/td>\n<\/tr>\n<tr>\n<td><strong>Exit<\/strong><\/td>\n<td>Plan reviewed and agreed by dev lead and product owner, effort estimated, risks named with owners<\/td>\n<\/tr>\n<tr>\n<td><strong>Deliverables<\/strong><\/td>\n<td>Test plan, effort estimate, risk register<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h3>3. Test case development<\/h3>\n<p>Cases get written, reviewed and linked back to requirements. Test data gets prepared, which is the step teams skip and then lose two days to.<\/p>\n<p>A case with an expected result of \"works correctly\" is not a case. The expected result has to be specific enough that two different testers reach the same verdict on the same screen. Review matters here for the same reason code review does: the author is the worst-placed person to spot their own missing branch.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Entry<\/strong><\/td>\n<td>Test plan approved<\/td>\n<\/tr>\n<tr>\n<td><strong>Exit<\/strong><\/td>\n<td>Cases peer reviewed and approved, every priority-1 requirement has at least one case, test data prepared and loaded<\/td>\n<\/tr>\n<tr>\n<td><strong>Deliverables<\/strong><\/td>\n<td>Test cases, test scripts, test data sets, updated traceability matrix<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h3>4. Test environment setup<\/h3>\n<p>Hardware, software, network, test data and access, in a state that matches production closely enough for results to mean something. This phase runs in parallel with case development, and it is the one that most often silently fails.<\/p>\n<p>Setup is not finished when the environment exists. It is finished when a smoke check passes against it, run by someone who did not build it. A one-line health check in CI is enough to catch the usual failures, which are a stale build, a missing seed and a service that is up but pointing at the wrong database:<\/p>\n<pre><code class=\"language-bash\">curl -fsS -o \/dev\/null -w '%{http_code}\\n' https:\/\/staging.example.com\/health \\\n  &amp;&amp; curl -fsS https:\/\/staging.example.com\/api\/version | jq -r '.build, .commit'\n<\/code><\/pre>\n<p>If the returned commit is not the one you meant to test, everything after this point is a measurement of the wrong artefact. That failure mode is common and it is very hard to spot from test results alone, because the tests pass or fail plausibly either way.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Entry<\/strong><\/td>\n<td>Architecture and environment requirements known, build available<\/td>\n<\/tr>\n<tr>\n<td><strong>Exit<\/strong><\/td>\n<td>Smoke test passes, build version confirmed against the intended commit, all testers have access<\/td>\n<\/tr>\n<tr>\n<td><strong>Deliverables<\/strong><\/td>\n<td>Environment ready confirmation, smoke test results, build version record<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h3>5. Test execution<\/h3>\n<p>Cases are run, results recorded, defects raised, fixes retested, and a regression pass confirms the fixes broke nothing else.<\/p>\n<p>Two records matter more than the pass rate. The first is the build each result belongs to, because a pass on yesterday's build is not evidence about today's. The second is blocked versus failed: a blocked case was never run, and rolling blocked cases into \"not passed\" hides the fact that a chunk of the suite has no result at all.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Entry<\/strong><\/td>\n<td>Environment ready, cases approved, build deployed and version confirmed<\/td>\n<\/tr>\n<tr>\n<td><strong>Exit<\/strong><\/td>\n<td>Planned cases executed or formally deferred, defects logged and triaged, exit criteria from the test plan met<\/td>\n<\/tr>\n<tr>\n<td><strong>Deliverables<\/strong><\/td>\n<td>Execution results per build, defect reports, retest and regression results<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h3>6. Test cycle closure<\/h3>\n<p>The cycle ends with a record of what was tested, what was found, what is still open and what the team would do differently. Closure is the phase that gets dropped when a release runs late, which is why the same environment problem shows up in three consecutive releases.<\/p>\n<p>Useful closure numbers are defect density per module, defect leakage (defects found in production divided by total defects found, which tells you what the cycle missed), the ratio of blocked to executed cases, and the average time a defect sat between raised and fixed. One page is enough. Nobody reads twelve.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr>\n<th><\/th>\n<th><\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Entry<\/strong><\/td>\n<td>Execution complete, exit criteria met or exceptions signed off<\/td>\n<\/tr>\n<tr>\n<td><strong>Exit<\/strong><\/td>\n<td>Closure report circulated, metrics recorded, lessons logged as actions with owners<\/td>\n<\/tr>\n<tr>\n<td><strong>Deliverables<\/strong><\/td>\n<td>Test closure report, metrics, updated reusable assets<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<h2>STLC vs SDLC<\/h2>\n<p>The two are often confused because the phase names rhyme. The distinction is simple: SDLC builds the product, STLC checks it, and STLC phases are triggered by SDLC outputs.<\/p>\n<div class=\"bqa-tbl\"><table>\n<thead>\n<tr>\n<th>SDLC phase<\/th>\n<th>What STLC does at the same time<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Requirements<\/td>\n<td>Requirements analysis, feasibility, traceability matrix started<\/td>\n<\/tr>\n<tr>\n<td>Design<\/td>\n<td>Test planning, approach and environment requirements agreed<\/td>\n<\/tr>\n<tr>\n<td>Development<\/td>\n<td>Test case development, test data preparation, environment setup<\/td>\n<\/tr>\n<tr>\n<td>Testing<\/td>\n<td>Test execution, defect reporting, retest and regression<\/td>\n<\/tr>\n<tr>\n<td>Deployment and maintenance<\/td>\n<td>Cycle closure, production defect tracking, suite maintenance<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/div>\n<p>The practical consequence is that testing starts at the requirements phase, not after development finishes. A team that begins its STLC when the build lands has already skipped the two phases where defects are cheapest to remove.<\/p>\n<h2>The four levels of software testing<\/h2>\n<p>Each level tests a larger piece of the product than the one before it, and each one catches defects the level below cannot see.<\/p>\n<ul>\n<li><strong>Unit testing.<\/strong> One function, class or component tested on its own, usually by the developer who wrote it and usually automated. Fast and cheap, but blind to how parts behave together. More in <a href=\"https:\/\/betterqa.co\/software-testing-approaches\/software-unit-testing\/\">unit testing<\/a> and <a href=\"https:\/\/betterqa.co\/software-testing-services\/component-testing\/\">component testing<\/a>.<\/li>\n<li><strong>Integration testing.<\/strong> Two or more parts tested together: a service and its database, the front end and the API, your system and a payment provider. This is where mismatched assumptions surface. See <a href=\"https:\/\/betterqa.co\/software-testing-services\/integration-testing\/\">integration testing<\/a>.<\/li>\n<li><strong>System testing.<\/strong> The whole application, assembled and deployed, tested against its requirements. Functional and non-functional checks such as performance and security happen here. See <a href=\"https:\/\/betterqa.co\/software-testing-services\/system-testing\/\">system testing<\/a>.<\/li>\n<li><strong>Acceptance testing.<\/strong> The people who asked for the software confirm it does what they need. User acceptance testing is the common form; contractual and regulatory acceptance exist too. See <a href=\"https:\/\/betterqa.co\/software-testing-services\/acceptance-testing\/\">acceptance testing<\/a> and <a href=\"https:\/\/betterqa.co\/user-acceptance-testing-in-5-steps\/\">UAT in five steps<\/a>.<\/li>\n<\/ul>\n<p>Some lists add a fifth stage. It is usually <strong>regression testing<\/strong>, which repeats earlier tests after a change and can happen at any level, or <strong>end-to-end testing<\/strong>, which follows a user journey across systems and sits between system and acceptance testing. Neither is wrong, they are just counted differently. Test levels are counted differently too: CTFL 4.0.1 (section 2.2.1) names five, component (unit), component integration, system, system integration and acceptance testing, where the four above treat integration as one level.<\/p>\n\n<h3>How the phases and levels run together in one release<\/h3>\n<p>The sprint walk-through below shows the phases compressed. Here is the same idea seen through the levels, for a release that adds a new payment method. Requirements analysis and planning happen once, at the start, and cover every level. Developers write unit tests while they build. As soon as the payment service talks to the provider's sandbox, QA runs integration tests. When the build is on staging and a <a href=\"https:\/\/betterqa.co\/smoke-testing-sanity-acceptance-testing-qa-guide\/\">smoke test<\/a> passes, system testing starts, followed by a regression pass. The product owner runs acceptance checks on the finished feature, and closure records what was found at which level. Knowing the level of each defect is useful: a pile of bugs found in system testing that a unit test could have caught tells you where to invest next sprint.<\/p>\n\n<h3>How we run the stages at BetterQA<\/h3>\n<p>We run this cycle as an embedded QA team: our engineers join the client's standups, Jira and sprint ceremonies and work only on that project. In the first week we read the code, the existing tests and the pipeline, so we know which levels already have tests and which have none. Exit criteria go into the <a href=\"https:\/\/betterqa.co\/software-testing-services\/test-plan\/\">test plan<\/a>, cases and bugs live in <a href=\"https:\/\/bugboard.co\" target=\"_blank\" rel=\"noopener\">BugBoard<\/a>, our own test management tool, and for regulated teams each release gets a BugBoard report of what was tested and what passed. We only test, we never build, so the people running system and acceptance checks did not write the code. If you want a team to own those stages for you, <a href=\"https:\/\/betterqa.co\/qa-outsourcing\/\">QA outsourcing<\/a> is the usual way to start.<\/p>\n<h2>What the STLC looks like in a two-week sprint<\/h2>\n<p>The formal description reads as though each phase takes weeks. In practice it compresses hard, and it is worth seeing the compressed version because that is the one most teams are actually running.<\/p>\n<p>A feature enters refinement. The tester reads the story and asks the questions that requirements analysis exists to produce, usually two or three of them, usually about error states nobody specified. Those answers change the acceptance criteria before a line of code is written.<\/p>\n<p>While the developer builds, the tester writes the cases against the agreed criteria and prepares the data. Planning here is a paragraph, not a document: what is in scope, what is deliberately out, which environment, and what would make this story not shippable.<\/p>\n<p>The build lands. Environment setup means confirming the deployed commit matches the one in the ticket, then running the smoke check. Execution follows, defects are raised with the build number attached, fixes come back, the tester retests and runs the regression subset around the touched area.<\/p>\n<p>The story closes when the exit criteria in the ticket are met, not when the sprint ends. If they are not met, the honest outcome is that the story does not ship, and the closure note records why. That last sentence is the one that makes the whole cycle worth having.<\/p>\n<h2>Where the STLC breaks down<\/h2>\n<p>Most of it comes down to the same handful of failures, and they are process problems wearing a technical costume.<\/p>\n<p>The first is environments that drift from production. Different data volumes, different configuration, different versions of a dependency. The result is defects that reproduce in one place and not the other, and a team that slowly stops trusting its own test results.<\/p>\n<p>The second is requirements that move after cases are written and nobody updates the traceability matrix. The suite keeps passing while testing something the product no longer does. This is invisible from the pass rate, which is exactly why it survives.<\/p>\n<p>The third is time. When a release runs late, execution gets cut, and it gets cut from the end, which is where the regression pass lives. The alternative is to cut scope rather than coverage: ship fewer features fully tested rather than all of them partially. That decision belongs to the product owner, and the test plan's exit criteria are what makes it a decision instead of an accident.<\/p>\n<style id=\"bqa-own-mob-stlc-on-our-own-site\">@media (max-width:600px){#stlc-on-our-own-site{padding:22px 14px!important;margin:28px 0!important}#stlc-on-our-own-site h2{font-size:24px!important}}<\/style><section id=\"stlc-on-our-own-site\" style=\"margin:40px 0 32px;padding:32px 28px;background:#f7f5fb;border:1px solid #e6e1f0;border-radius:14px;text-align:left;\"><div style=\"font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5F29A1;margin:0 0 10px;\">\/\/ one full cycle, on our own website<\/div><h2 style=\"font-family:Jost,sans-serif;font-weight:500;font-size:clamp(24px,3vw,32px);line-height:1.2;color:#1a1a2e;margin:0 0 12px;text-transform:none;\">One STLC cycle on our own homepage FAQ<\/h2><p style=\"color:#55526a;margin:0 0 26px;\">In October 2026 we rewrote the FAQ on betterqa.co. It is a small change, so it shows the six phases without a big project hiding them.<\/p><div style=\"border-left:3px solid #7B3AC7;padding:2px 0 2px 18px;margin:0 0 24px;\"><div style=\"font:500 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5F29A1;margin:0 0 4px;\">1 \u00b7 requirement analysis<\/div><h3 style=\"font-family:Jost,sans-serif;font-weight:500;font-size:20px;line-height:1.35;color:#1a1a2e;margin:0 0 6px;text-transform:none;\">What do buyers actually ask?<\/h3><p style=\"color:#55526a;margin:0 0 8px;\">We read five recorded sales calls and listed the questions people asked, ranked by how often they came up. Price, a trial, start date and lock-in topped the list. That list was the requirement.<\/p><span style=\"display:inline-block;font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#1a1a2e;background:#efe7fa;padding:2px 8px;border-radius:5px;\">5 calls, 14 questions, 8 kept<\/span><\/div><div style=\"border-left:3px solid #7B3AC7;padding:2px 0 2px 18px;margin:0 0 24px;\"><div style=\"font:500 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5F29A1;margin:0 0 4px;\">2 \u00b7 test planning<\/div><h3 style=\"font-family:Jost,sans-serif;font-weight:500;font-size:20px;line-height:1.35;color:#1a1a2e;margin:0 0 6px;text-transform:none;\">What does done mean?<\/h3><p style=\"color:#55526a;margin:0 0 8px;\">Eight questions live, the structured data Google reads listing the same eight, every answer opening and closing, and nothing scrolling sideways on a phone.<\/p><span style=\"display:inline-block;font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#1a1a2e;background:#efe7fa;padding:2px 8px;border-radius:5px;\">4 exit criteria, written first<\/span><\/div><div style=\"border-left:3px solid #7B3AC7;padding:2px 0 2px 18px;margin:0 0 24px;\"><div style=\"font:500 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5F29A1;margin:0 0 4px;\">3 \u00b7 test case design<\/div><h3 style=\"font-family:Jost,sans-serif;font-weight:500;font-size:20px;line-height:1.35;color:#1a1a2e;margin:0 0 6px;text-transform:none;\">One check per exit criterion.<\/h3><p style=\"color:#55526a;margin:0 0 8px;\">Count the questions on the page. Count them in the structured data. Open each one. Measure the page width at 390px with all of them open.<\/p><span style=\"display:inline-block;font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#1a1a2e;background:#efe7fa;padding:2px 8px;border-radius:5px;\">4 checks, all repeatable<\/span><\/div><div style=\"border-left:3px solid #7B3AC7;padding:2px 0 2px 18px;margin:0 0 24px;\"><div style=\"font:500 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5F29A1;margin:0 0 4px;\">4 \u00b7 environment<\/div><h3 style=\"font-family:Jost,sans-serif;font-weight:500;font-size:20px;line-height:1.35;color:#1a1a2e;margin:0 0 6px;text-transform:none;\">The live site, read twice.<\/h3><p style=\"color:#55526a;margin:0 0 8px;\">Our CDN can serve an old page for up to ten minutes. So every check ran once around the cache and once through it, the way a visitor gets it.<\/p><span style=\"display:inline-block;font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#1a1a2e;background:#efe7fa;padding:2px 8px;border-radius:5px;\">2 reads per check<\/span><\/div><div style=\"border-left:3px solid #7B3AC7;padding:2px 0 2px 18px;margin:0 0 24px;\"><div style=\"font:500 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5F29A1;margin:0 0 4px;\">5 \u00b7 execution<\/div><h3 style=\"font-family:Jost,sans-serif;font-weight:500;font-size:20px;line-height:1.35;color:#1a1a2e;margin:0 0 6px;text-transform:none;\">Run it and write down the numbers.<\/h3><p style=\"color:#55526a;margin:0 0 8px;\">8 of 8 questions on the page, 8 of 8 in the structured data, every answer opening and closing, and the page exactly 390px wide on a 390px phone.<\/p><span style=\"display:inline-block;font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#1a1a2e;background:#efe7fa;padding:2px 8px;border-radius:5px;\">all 4 passed<\/span><\/div><div style=\"border-left:3px solid #7B3AC7;padding:2px 0 2px 18px;margin:0 0 24px;\"><div style=\"font:500 12.5px ui-monospace,SFMono-Regular,Menlo,monospace;color:#5F29A1;margin:0 0 4px;\">6 \u00b7 closure<\/div><h3 style=\"font-family:Jost,sans-serif;font-weight:500;font-size:20px;line-height:1.35;color:#1a1a2e;margin:0 0 6px;text-transform:none;\">Leave a trail someone else can follow.<\/h3><p style=\"color:#55526a;margin:0 0 8px;\">A changelog entry saying what changed and why, the change saved in the repository, and the task closed with a screenshot as proof.<\/p><span style=\"display:inline-block;font:500 13px ui-monospace,SFMono-Regular,Menlo,monospace;color:#1a1a2e;background:#efe7fa;padding:2px 8px;border-radius:5px;\">closed with proof<\/span><\/div><p style=\"border-top:1px solid #e6e1f0;padding-top:16px;margin:8px 0 0;font-size:15px;color:#55526a;\">Tested and written by the BetterQA team, reviewed by <strong style=\"color:#1a1a2e;font-weight:500;\">Tudor Brad<\/strong>, founder. October 2026.<\/p><\/section><h2>Stages of software testing FAQ<\/h2>\n<div class=\"bqa-faq\">\n<div class=\"bqa-faq-item\">\n<button class=\"bqa-faq-question\" aria-expanded=\"false\"><span>What are the 6 stages of software testing?<\/span><span class=\"bqa-faq-toggle\">+<\/span><\/button>\n<div class=\"bqa-faq-answer\"><p>Requirements analysis, test planning, test case development, test environment setup, test execution and test cycle closure. These are the phases of the software testing life cycle. Some sources count five or seven by merging or splitting phases, but the work is the same.<\/p><\/div>\n<\/div>\n<div class=\"bqa-faq-item\">\n<button class=\"bqa-faq-question\" aria-expanded=\"false\"><span>What are the 4 levels of testing?<\/span><span class=\"bqa-faq-toggle\">+<\/span><\/button>\n<div class=\"bqa-faq-answer\"><p>Unit testing, integration testing, system testing and acceptance testing. Each level tests a bigger part of the product, from a single function up to the whole system in the hands of its users.<\/p><\/div>\n<\/div>\n<div class=\"bqa-faq-item\">\n<button class=\"bqa-faq-question\" aria-expanded=\"false\"><span>What are the two types of software testing?<\/span><span class=\"bqa-faq-toggle\">+<\/span><\/button>\n<div class=\"bqa-faq-answer\"><p>It depends which split you mean. The most common is functional testing, which checks what the software does, and non-functional testing, which checks how well it does it, such as speed, security and usability. Another common split is manual versus automated testing, and a third is static testing, which reviews documents and code without running them, versus dynamic testing, which runs the software.<\/p><\/div>\n<\/div>\n<div class=\"bqa-faq-item\">\n<button class=\"bqa-faq-question\" aria-expanded=\"false\"><span>What is the 40\/20\/40 rule in software engineering?<\/span><span class=\"bqa-faq-toggle\">+<\/span><\/button>\n<div class=\"bqa-faq-answer\"><p>It is an old planning rule of thumb: roughly 40 percent of the effort goes to requirements and design, 20 percent to writing code and 40 percent to testing and fixing. It is a heuristic, not a standard, and modern teams that test continuously rarely split their time that cleanly. Its useful point is that testing is a large share of the work and should be planned that way.<\/p><\/div>\n<\/div>\n<div class=\"bqa-faq-item\">\n<button class=\"bqa-faq-question\" aria-expanded=\"false\"><span>Do the stages of testing still apply in agile?<\/span><span class=\"bqa-faq-toggle\">+<\/span><\/button>\n<div class=\"bqa-faq-answer\"><p>Yes, but they shrink and overlap. In a sprint, planning might take twenty minutes and execution starts while cases for the next story are still being written. The sequence is a guide, the activities overlap, and the exit criteria still hold; the duration is what changes. See <a href=\"https:\/\/betterqa.co\/it-testing-best-practices-betterqa\/agile-testing\/\">agile testing<\/a> for more.<\/p><\/div>\n<\/div>\n<div class=\"bqa-faq-item\">\n<button class=\"bqa-faq-question\" aria-expanded=\"false\"><span>Which stage of testing finds the most bugs?<\/span><span class=\"bqa-faq-toggle\">+<\/span><\/button>\n<div class=\"bqa-faq-answer\"><p>It varies by project, but the cheapest bugs are found earliest. Requirements analysis catches ambiguity before any code exists, and unit tests catch logic errors minutes after they are written. A defect that reaches system or acceptance testing costs more to fix, because more work has been built on top of it.<\/p><\/div>\n<\/div>\n<\/div>\n<aside class=\"bqa-tt-related\" aria-labelledby=\"bqa-tt-related-2673\" style=\"border:1px solid #e2dcef;border-left:4px solid #9152DE;border-radius:8px;background:#faf8fe;padding:18px 22px;margin:2.2em 0\"><h2 id=\"bqa-tt-related-2673\" style=\"font-size:1.25rem;margin:0 0 .6em\">Related testing types<\/h2><ul style=\"margin:0 0 .8em;padding-left:1.2em\"><li style=\"margin:0 0 .45em\"><a href=\"https:\/\/betterqa.co\/smoke-testing-sanity-acceptance-testing-qa-guide\/\">Smoke testing<\/a>: the short check that a new build is stable enough to test.<\/li><li style=\"margin:0 0 .45em\"><a href=\"https:\/\/betterqa.co\/exploratory-testing\/\">Exploratory testing<\/a>: learning and testing at once, to find what no script looked for.<\/li><li style=\"margin:0 0 .45em\"><a href=\"https:\/\/betterqa.co\/end-to-end-testing\/\">End-to-end testing<\/a>: one complete user journey through the real system.<\/li><\/ul><p style=\"margin:0;font-size:.95rem\">All four side by side, with when to use each: <a href=\"https:\/\/betterqa.co\/software-testing-approaches\/types-of-testing\/\">types of testing<\/a>.<\/p><\/aside><h2>Sources<\/h2>\n<p>The <a href=\"https:\/\/glossary.istqb.org\/\" rel=\"nofollow noopener\" target=\"_blank\">ISTQB glossary<\/a> defines the terms used here, and <a href=\"https:\/\/www.iso.org\/standard\/81291.html\" rel=\"nofollow noopener\" target=\"_blank\">ISO\/IEC\/IEEE 29119<\/a> is the international standard for software testing documentation, including test plans and the content of a test completion report.<\/p>\n<p>If you want the structured version of the planning phase, our guide on <a href=\"https:\/\/betterqa.co\/test-plan-in-software-testing\/\">how to write a test plan<\/a> covers the document section by section with a worked example. For the execution phase, <a href=\"https:\/\/betterqa.co\/bug-reports-how-to-write-expected-results\/\">how to write bug reports<\/a> covers the expected-result problem in more detail.<\/p>\n<p><a href=\"https:\/\/betterqa.co\">BetterQA<\/a> runs this cycle as an embedded QA team for clients who would rather not build the process from scratch. If your testing currently ends when the sprint ends, the entry and exit criteria above are the cheapest place to start.<\/p>\n<p>Built by <a href=\"https:\/\/betterqa.co\">BetterQA<\/a><\/p>\n<\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The software testing life cycle in six phases, with the entry criteria, exit criteria and deliverables for each phase, and how it runs inside a two-week sprint.<\/p>\n","protected":false},"author":1,"featured_media":11939,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[792,1010],"tags":[796,749,760,757,755,742,758,797,795,793,754,794,741,761],"class_list":["post-2673","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-stlc-software-testing-life-cycle","category-stlc-methodology","tag-bugs","tag-code","tag-independentteam","tag-qatesters","tag-qatesting","tag-softwaretesting","tag-softwareengineers","tag-spectesting","tag-sprint","tag-stlc","tag-testers","tag-testexecution","tag-testing","tag-thirdparty"],"acf":[],"_links":{"self":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/2673","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/comments?post=2673"}],"version-history":[{"count":1,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/2673\/revisions"}],"predecessor-version":[{"id":10439,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/posts\/2673\/revisions\/10439"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/media\/11939"}],"wp:attachment":[{"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/media?parent=2673"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/categories?post=2673"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/betterqa.co\/wp-json\/wp\/v2\/tags?post=2673"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}