The test pyramid concept suggests that there should be more low-level tests (unit tests) and fewer high-level tests (end-to-end tests).
As we move higher up the pyramid (e.g., from unit tests to integration tests to end-to-end tests), each test covers more production code.
Higher-level tests (like end-to-end) validate larger parts of the application, including multiple units and their interactions.
This aligns with the principle that higher-level tests provide broader coverage but are fewer in number and more expensive to run and maintain.
[Reference: ISTQB CTFL Syllabus V4.0, Chapter 5.1.6, Test Pyramid., ]
Submit