Integration tests verify that multiple components work together correctly, testing interactions between application layers and external systems.
- Command Testing - Testing application commands
- Test Builders - Command test builders
- Mocking Strategies - When and how to use mocks
- Idempotency Testing - Testing safe retry behavior
- Real Dependencies: Use actual implementations when possible
- State Validation: Verify actual state changes, not just API calls
- Cleanup: Always clean up resources, even on test failure
- Realistic Scenarios: Test real-world usage patterns