Practice free →
HomeSoftware TestingSoftware Testingtools_automation_cicd › Test pyramid (Mike Cohn) advocates for

Test pyramid (Mike Cohn) advocates for

AMany UI, fewer integration, few unit tests
BEqual numbers of each kind of test
COnly unit tests with no other levels
DMany unit, fewer integration, few UI tests
Answer & Solution
Correct answer: D. Many unit, fewer integration, few UI tests
Test pyramid: broad base of fast cheap unit tests, narrower integration tests, thin top of slow expensive UI/E2E tests. The inversion (ice cream cone) leads to slow, brittle suites. UI tests should target user journeys.
Solve this in the app — Software Testing practice & 24k+ MCQs →
Related questions