Section 1
What is software testing?
Testing is checking that software does what it should — and finding where it doesn't — before users do. It covers both verification (are we building the product right?) and validation (are we building the right product?).
Key idea
Testing shows that defects are present — it can never prove there are none.
Section 2
SDLC and STLC
SDLC
Software Development Life Cycle
How the whole product is built: requirements, design, development, testing, release and maintenance.
STLC
Software Testing Life Cycle
The testing activities inside the SDLC — from reading requirements to closing the test cycle. Its six phases are below.
- 1 · Requirement analysis
- 2 · Test planning
- 3 · Test case design
- 4 · Environment setup
- 5 · Test execution
- 6 · Test closure
Section 3
Test levels
Each level tests a bigger piece of the system. Bugs are cheapest to fix at the lowest level.
- 1Unit testingOne function or component on its own. Usually written by developers.
- 2Integration testingParts working together — modules, APIs, the database.
- 3System testingThe whole application, end to end, checked against the requirements.
- 4Acceptance testing (UAT)Users or the business confirm it meets their needs before release.
Section 4
Test types
| Type | What it checks |
|---|---|
| Functional | Features do what the requirements say. |
| Non-functional | How well it works: performance, usability, security. |
| Smoke | A quick check that a new build's critical features work. |
| Sanity | A narrow check that one specific fix or change works. |
| Regression | Re-testing after a change so nothing that worked is broken. |
| Exploratory | Learning and testing at the same time, without a script. |
Section 5
The 7 testing principles
1Testing shows defects are present
It can't prove the software is bug-free.
2Exhaustive testing is impossible
Prioritise by risk instead.
3Early testing saves time and money
Review requirements before code exists.
4Defects cluster together
A few modules hold most of the bugs.
5Beware the pesticide paradox
The same tests stop finding new bugs.
6Testing is context dependent
A bank app and a game need different testing.
7Absence of errors is a fallacy
Bug-free software that doesn't meet users' needs is still a failure.
Section 6
What makes a good tester
Curious
Asks “what if…?” and tries it.
Detail-oriented
Notices small differences.
Clear writer
Writes bug reports anyone can reproduce.
User-minded
Thinks like the people who use it.
Check your understanding
5 quick questions
Pick one answer for each · 5 of 5 completes the step
0 of 5 answered · sign in to save your progress