Integration testing επαληθεύει ότι πολλαπλά components ή units λειτουργούν σωστά μαζί — δοκιμάζει τις αλληλεπιδράσεις και τα σημεία ολοκλήρωσης (όπως κώδικας με βάση δεδομένων, υπηρεσίες που καλούν η μια την άλλη, ή modules που συνδυάζονται). Ανιχνεύει ζητήματα που τα unit tests (τα οποία απομονώνουν τα units) δεν ανιχνεύουν.
Τι επαληθεύει το 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.
