QA Fundamentals · Middle · Question 69 of 75
Why are tests at many levels needed instead of only end-to-end tests?
- 1End-to-end tests can't find any real defects
- 2E2E tests are slow and hard to debug when they fail
- 3Unit tests are required by law in most countries
Show the answer
Correct answer: E2E tests are slow and hard to debug when they fail
Explanation
When an E2E test fails, the cause could be anywhere. Lower-level tests localize failures and run in seconds, so E2E covers only key journeys.