Integracijsko testiranje preverja, da več komponent ali enot pravilno deluje skupaj — testira interakcije in integracijske točke (kot so koda s podatkovno bazo, storitve, ki se medsebojno kličejo, ali kombinirani moduli). Zajame probleme, ki jih testiranje enot (ki izolira enote) ne ujame.
Kaj integracijsko testiranje preverja
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.
