Integration testing यह सत्यापित करती है कि कई components या units एक साथ सही ढंग से काम करते हैं — interactions और integration points का परीक्षण करना (जैसे database के साथ code, एक-दूसरे को call करने वाली services, या संयुक्त modules)। यह उन समस्याओं को पकड़ती है जिन्हें unit tests (जो units को isolate करते हैं) चूक जाते हैं।
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.
