يتضمن اختبار البرمجيات عدة مستويات (حسب النطاق) وأنواع (حسب الغرض). يساعد فهم هذه المستويات والأنواع — اختبار الوحدة والتكامل والشامل؛ الوظيفي مقابل غير الوظيفي — على بناء نهج اختبار شامل يغطي جوانب مختلفة من الجودة.
مستويات الاختبار (حسب النطاق)
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
