Testing
Integration Testing
Testing component interactions and end-to-end flows
Interview: System-level testing — mid to senior level
Integration Testing
Integration tests verify that components work together correctly. They use real (or near-real) dependencies like databases and APIs.
Test Pyramid
- Unit tests (70%): Fast, isolated, many
- Integration tests (20%): Component interactions, moderate speed
- E2E tests (10%): Full user flows, slow, few