Integration testing verifies that multiple components or units work correctly together — testing the interactions and integration points (like code with a database, services calling each other, or modules combined). It catches issues that unit tests (which isolate units) miss.
What integration testing verifies
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.
