What is the optimal ratio between unit, integration and E2E tests?
The optimal classic ratio (according to the testing pyramid):
- 70%: unit tests
- 20%: integration tests
- 10%: E2E tests
Short Answer
Interview readyPremium
A concise answer to help you respond confidently on this topic during an interview.