Integracijsko testiranje provjerava da se više komponenti ili jedinica pravilno funkcionira zajedno — testira interakcije i točke integracije (kao što je kod s bazom podataka, servisi koji se međusobno pozivaju, ili kombinovani moduli). Hvata probleme koje jedinična testiranja (koja izoliraju jedinice) propuštaju.
Što integracijsko testiranje provjerava
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.
