Software testing has several levels (by scope) and types (by purpose). Understanding them — unit, integration, end-to-end; functional vs non-functional — helps build a complete testing approach covering different aspects of quality.
Testing levels (by scope)
UNIT → individual functions/methods in isolation (smallest, fastest, most numerous)
INTEGRATION → multiple units/components working TOGETHER (e.g. code + database, services)
END-TO-END (E2E) → the WHOLE application from the user's perspective (full flows,
through the real UI/system) — broadest, slowest
SYSTEM → the complete integrated system; ACCEPTANCE → meets business requirements
