Lesson 9 — The Testing Life Cycle (STLC) · Practical QA
LESSON VIEW
S-05 · BASIC · PRACTICAL QA

Lesson 9 — The Testing Life Cycle (STLC)

Objective: The software testing life cycle — testing's own six phases, from analysing requirements to closing the cycle — where each phase starts inside the SDLC, what each one produces, and the entry and exit gates that say when testing may start and when it may honestly stop.

⏱ ≈30 min full lesson · Converted from the S-05 module deck · English edition — Español · العربية · বাংলা in translation

⚡ Key Points

  • Testing has a life cycle of its own — S-01 put testing inside every phase of the SDLC.
  • The map: six phases, six products — Each phase exists to produce one thing. Requirement analysis produces understood, testable requirements — and the questi…
  • Where each phase starts inside the SDLC — The STLC does not wait for the SDLC's test phase.
  • Phases 1–2: analyse, then plan — Requirement analysis: read the requirements like an investigator.
  • Phases 3–4: write the cases, ready the place — Test case development turns the approach into cases: one or more per requirement, each with steps and an expected result…
  • Phase 5: execution — and its gates — Execution is the phase the gates guard. Entry criteria say execution may start: requirements testable, environment ready…

📖 Read

In ~30 minutes: the software testing life cycle — testing's own six phases, from analysing requirements to closing the cycle — where each phase starts inside the SDLC, what each one produces, and the entry and exit gates that say when testing may start and when it may honestly stop.

Testing has a life cycle of its own: S-01 put testing inside every phase of the SDLC. The STLC organises that same work as testing's own path: six phases a testing effort walks, in order, for every release — requirement analysis, test planning, test case development, test environment setup, test execution, test cycle closure. The SDLC describes the journey of the product. The STLC describes the journey of the testing. One runs inside the other — and the STLC repeats: every new release, and every significant change, starts the cycle again.

The map: six phases, six products: Each phase exists to produce one thing. Requirement analysis produces understood, testable requirements — and the questions that made them so. Test planning produces the test approach: what will be tested, in what order, with what data, and when to stop. Test case development produces the test cases themselves. Test environment setup produces a place to run them that behaves like the real thing, with data ready. Test execution produces results — and a defect report for everything that fails. Test cycle closure produces the verdict: the go/no-go recommendation, and the lessons the next cycle inherits. A phase that produces nothing has not finished; it has only been visited.

Where each phase starts inside the SDLC: The STLC does not wait for the SDLC's test phase. Requirement analysis starts in the SDLC's requirements phase — S-01's testability review is STLC phase 1, already at work. Planning and case development run alongside design. Environment setup happens while the software is being built. Execution occupies the test phase, and closure feeds the release decision at deploy. This is the V-model from S-01, made practical: the test work for each level is prepared on the way down the V — acceptance cases are drafted from the requirements themselves — and executed on the way up. Start the STLC late and you compress all six phases into the test phase, which is S-01's two risks wearing a schedule.

Phases 1–2: analyse, then plan: Requirement analysis: read the requirements like an investigator. For FreshNest, analysis turns 'Deep costs 1.5× Standard' into a checkable number — $210 for 2 bedrooms — and turns 'Move-Out is quoted individually' into a question with an answer: the site must show a message, never a price. What analysis cannot do is invent answers — an ambiguous requirement goes back as a question, not forward as a guess. Test planning then writes the decisions down as the one-page test approach: scope, risks first, method, data, environment, and the entry and exit criteria the later phases will be judged against. In this course, you produce that approach in PQA-02.

Phases 3–4: write the cases, ready the place: Test case development turns the approach into cases: one or more per requirement, each with steps and an expected result an oracle can judge. FreshNest's cases carry their IDs — TC-FN-PRC-001 checks the 2-bedroom Deep price — and they become the test-case document you produce in PQA-03. Test environment setup then builds the place those cases deserve: the practice site reachable, a laptop browser and a phone browser (the two ways customers actually book), and test data prepared — bedroom counts, and phone numbers of 9, 10, and 11 digits. Cases written for an environment that does not exist yet are drafts, however neat they look.

Phase 5: execution — and its gates: Execution is the phase the gates guard. Entry criteria say execution may start: requirements testable, environment ready, the build smoke-passed. Exit criteria say it may stop: the planned cases run, defect thresholds met, remaining risks accepted in writing, by name. Between the gates, you run the cases, log every failure as a defect report — FreshNest's DEF-FN-001, the Deep estimate showing $168 instead of $210, is the one you write in PQA-06 — and retest every fix. If the environment dies or a blocking defect lands, suspension criteria pause the phase honestly, instead of letting 'we paused' become 'we skipped'; S-03 writes those criteria in full. The criteria were agreed in the test approach, with the owner, before the pressure arrived. At the gate, the tester certifies the evidence against them; the owner accepts any remaining risk. The tester recommends — the owner decides.

Phase 6: closure — the cycle ends in a decision: Closure compares what execution actually produced against the exit criteria written back in planning — calm-weather promises, checked in the storm. Its product is the go/no-go recommendation you learn to write in PQA-11: go, no-go, or go with named residual risks — the defects knowingly shipping and the areas never tested, stated plainly for the owner, Maya, who makes the final call. Closure also harvests the cycle: which defects escaped the early phases, which cases earned their keep, what the next cycle's analysis should question first. Then the loop closes — the next release starts again at requirement analysis, better informed.

The answer: Test planning was skipped. Cases without an approach have no agreed scope, no risk order, and no entry or exit criteria — so when the release meeting asks 'is it tested enough?', there is nothing to check the answer against, only opinions to negotiate. The planning phase is what gives execution its edges; write it while everyone is calm.

The professional habit: Before you test anything, name your phase. Ask: which STLC phase am I in, what does it produce, and what gate lets me leave it? Testing that cannot name its phase drifts — cases written before planning, execution declared finished by feeling. The six phases are not paperwork; they are how a tester knows what 'next' means.

For the FreshNest practice release: write the six STLC phases in order; for each, name its deliverable and the course artefact where you produce it — the test approach (PQA-02), the test-case document (PQA-03), the defect report (PQA-06), the go/no-go recommendation (PQA-11). Then write the entry and exit criteria for the execution phase, and name who signs off on each side of the gate.