Testing · Junior · Question 5 of 78
What does the classic test pyramid recommend?
- ✓Correct answer: Many fast unit tests, fewer integration tests and only a few E2E tests
- 2Mostly E2E tests because they are closest to users
- 3Equal numbers of tests at every level
Explanation
The higher the level, the slower, more expensive and flakier the tests. The pyramid shape keeps the suite fast while still checking critical flows end to end.