Testimi i integrimit verifikon që komponentë të shumëfishta ose njësi punojnë saktësisht së bashku — duke testuar ndërveprimet dhe pikat e integrimit (si kodi me një bazë të dhënash, shërbime që thirren njëra-tjetrën, ose module të kombinuara). Ai zbulon problemet që testimet e njësisë (të cilat izolojnë njësitë) humbasin.
Çfarë verifikon testimi i integrimit
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.
