What are the main test levels, and what different risk does each level cover?
Answer
Component testing isolates individual units. Component integration testing checks interfaces between units, while system integration testing checks the product's connections to other systems and services. System testing evaluates the complete product, and acceptance testing validates readiness for users, operations, contracts or regulation. A strong plan gives each level a distinct purpose instead of repeating every scenario through the UI.
Strong answer includes
- component, component integration, system, system integration and acceptance
- different purpose per level
- avoids a UI-only strategy
Practical example
For a food-delivery app, component tests check that the delivery-fee calculator returns the right number for given distance and weight. Component integration tests confirm the order service correctly calls that calculator. System integration tests verify the whole backend correctly talks to the third-party payment gateway and mapping API. System tests run a full order end-to-end in a test environment, and acceptance testing has real restaurant partners confirm the order-status flow matches how they actually work in their kitchen.