Testing types and the test pyramid for SDETs
Software is tested at several levels: unit, integration, API, UI end-to-end, plus smoke and regression suites. The test pyramid guides SDETs to keep many fast unit and API tests and fewer slow UI tests, which keeps feedback quick and suites stable.
Stage: Testing fundamentals · Part of the SDET roadmap · Last reviewed 28 November 2026
What to learn in Testing types and the test pyramid
- Unit, integration and end-to-end tests
- Smoke and regression suites
- The test pyramid
Testing types and the test pyramid interview questions
Why should you have fewer UI tests than API tests?
UI tests are slower and more brittle. API and unit tests run faster and fail for clearer reasons, so the pyramid puts most coverage there and keeps UI tests for key user journeys.
Where Testing types and the test pyramid fits in the SDET roadmap
Testing types and the test pyramid belongs to the Testing fundamentals stage. Know what to test before automating it.