Integration testing memverifikasi bahwa multiple components atau units bekerja dengan benar bersama-sama — menguji interaksi dan integration points (seperti code dengan database, services memanggil satu sama lain, atau modules yang dikombinasikan). Integration testing menangkap issues yang unit tests (yang mengisolasi units) lewatkan.
Apa yang diverifikasi integration testing
Integration tests verify COMPONENTS WORKING TOGETHER (not in isolation):
→ code + DATABASE (does the data layer actually work with a real DB?)
→ service A calling service B / an external API
→ multiple modules/units combined; the integration POINTS between them
→ catches issues in how parts INTERACT — which unit tests (isolated) can't catch.
