Testowanie integracyjne weryfikuje, że wiele komponentów lub jednostek działa prawidłowo razem — testując interakcje i punkty integracji (takie jak kod z bazą danych, usługi wzywające się nawzajem, lub połączone moduły). Ujawnia problemy, które testy jednostkowe (które izolują jednostki) pomijają.
Co weryfikuje testowanie integracyjne
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.
