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.
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:
| Days | Development | Testing beside it | STLC phase |
|---|---|---|---|
| Day 1 | Sprint planning: the team takes the coupon story and splits it into tasks | Asks how each acceptance criterion will be tested, and adds test tasks to the estimate | Test planning |
| Days 1 and 2 | Design of the coupon API and of the discount line in the basket | Writes scenarios and cases from the criteria: valid, expired, used-up and malformed codes, a second code, a double click | Test design |
| Days 3 to 7 | Coding, with unit tests | Prepares the data (the four coupon codes, accounts and books) and automates the API cases | Test environment setup |
| Days 6 to 9 | Each finished part goes to the test environment | Runs each part's cases as soon as it lands, logs bugs, retests fixes the same day | Test execution |
| Day 9 | Code freeze for the sprint | Runs the regression suite on the build, to protect the rest of the shop | Test execution |
| Day 10 | Sprint review and retrospective: the story counts only if it meets the definition of done | Reports what was tested, what was found and what is still open; brings lessons to the retrospective | Test 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.
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.