Skip to content
Course outline: Foundations

Module 01 · Foundations

How the SDLC and the STLC fit together

Testing does not wait for the code. Here is which testing step runs beside which development step.

  • 3 min read
  • Free, no sign-up

What you'll be able to do

  • Say which STLC phase runs beside each SDLC phase, and why it starts before the code is finished.
  • Plan a sprint so that test planning, design, setup and execution each start at the right moment.
  • Explain how close the pairs sit in Waterfall, in the V-model and in an agile sprint.

The Software Development Life Cycle (SDLC) and Software Testing Life Cycle (STLC) are deeply intertwined. Effective integration ensures quality throughout the development process. Explore the key interaction points below.

Where SDLC and STLC meet, phase by phase

Requirements Analysis

Test Planning

Test planning begins as requirements are defined. Testers review requirements for testability.

Design

Test Design

Testers create test cases based on design specifications and requirements.

Implementation

Test Environment Setup

While developers code, testers prepare the test environment and finalize test data.

Testing

Test Execution

Formal testing begins, defects are reported, and fixes are verified.

Deployment & Maintenance

Test Cycle Closure

Testing activities are evaluated and documented for future improvement as the system is deployed.

Why testing runs beside development

If testing waited for finished code, every misunderstanding in the requirements or the design would surface at the end, when the most work has been built on it and it costs the most to fix. Running the two cycles side by side moves testing work earlier, which is often called shifting left: testers review the requirements while they are written, design tests while the design is drawn, and have the environment and the data ready when the code arrives.

  • Defects are found when they are cheapest to fix (the early testing principle).
  • Tests are ready on the first day of execution, so testing does not start with a week of writing.
  • There are fewer surprises at the end: the release date depends on fewer unknowns.

How close the pairs sit depends on the model. In traditional Waterfall, testing waits for its own phase after development, which is why problems surface late. The V-model plans each test phase beside its development phase. In an agile sprint, all five pairs happen inside every sprint, often on the same day, as the worked example shows.

Worked example · Cedar Books

The coupon feature in one two-week sprint

Cedar Books, the Academy's practice shop, builds its coupon codes (REQ-03 and REQ-06) in one sprint of ten working days. Here is which test activity runs beside which development step:

The coupon sprint: development and testing side by side
DaysDevelopmentTesting beside itSTLC phase
Day 1Sprint planning: the team takes the coupon story and splits it into tasksAsks how each acceptance criterion will be tested, and adds test tasks to the estimateTest planning
Days 1 and 2Design of the coupon API and of the discount line in the basketWrites scenarios and cases from the criteria: valid, expired, used-up and malformed codes, a second code, a double clickTest design
Days 3 to 7Coding, with unit testsPrepares the data (the four coupon codes, accounts and books) and automates the API casesTest environment setup
Days 6 to 9Each finished part goes to the test environmentRuns each part's cases as soon as it lands, logs bugs, retests fixes the same dayTest execution
Day 9Code freeze for the sprintRuns the regression suite on the build, to protect the rest of the shopTest execution
Day 10Sprint review and retrospective: the story counts only if it meets the definition of doneReports what was tested, what was found and what is still open; brings lessons to the retrospectiveTest cycle closure

Every pair from the cards above happens inside the sprint, days apart instead of months. Two things make it work: the tester starts before the code exists, and a story is not done until it is tested.

Try it: Test estimation tool · The regression suite lab

Sign in to keep your progress: a tick here lives in this browser only.

Test yourself

Quiz: SDLC and STLC together

10 questions, about 8 minutes. Sign in to take the quiz.

Sign inRequest accessStart freeGet started

10 questions, about 8 minutes, no time limit. 7 right answers pass, and passing marks the lesson as read. Every new quiz draws new questions.

Put the lessons to work on a real site

Describe a user journey in plain English. QAIA walks it in a real browser and hands back the test cases, the automation code and the evidence of every step.