What are the levels of testing?
FundamentalsJunior
In shortUnit, integration, system and acceptance. Each level tests a bigger piece of the product, is usually done by different people, and catches bugs the others would miss.
Model answer
A level says how much of the product is under test. There are four, from smallest to largest:
| Level | What is tested | Usually by | Example bug |
|---|---|---|---|
| Unit | One small piece of code on its own | Developers, automated | A discount function returns 11% instead of 10% |
| Integration | Two or more pieces working together | Developers and testers | The app sends price but the server expects amount, so the order total is empty |
| System | The whole product, end to end | Testers | A coupon works on its own but is lost when the user changes the delivery address |
| Acceptance | Whether it solves the users’ and the business’s problem | Product owner, customers, real users | The feature works as specified, but users can’t find it |
Most of a manual tester’s time goes to system testing, with a lot of integration testing through the API and DevTools, and help with acceptance testing such as UAT and beta programs.
Two things I’d add in an interview:
- Levels are not types. A type says what quality you check (functional, performance, security). They combine: a performance test can run at unit level or at system level.
- Naming varies. ISTQB says “component” for unit and counts integration twice (component integration and system integration), which gives five levels. I use the names the team uses.
Bugs get more expensive the later the level that finds them, which is why teams want many fast unit tests and fewer slow end-to-end tests.
Learn more: Levels of Testing
What they're looking for
The four levels in order, what each one checks and who usually does it, an example of a bug each level catches, and where a manual tester spends most of their time.
Common mistakes
- Mixing up levels (how much is tested) with types (what quality is tested).
- Saying testers only work at system level and ignoring integration and acceptance.
- Listing the names without an example for any of them.