Home › Software Testing › Software Testing › tools_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.
Related questions
In Scrum, the 'Definition of Done' (DoD) typically includesA 'flaky test' is a test thatBehaviour-driven development (BDD) tools commonly usePerformance testing in general is BROADER than load testing because it includesAccessibility testing primarily ensures thatPenetration testing is a form ofMutation testing measures the effectiveness ofExploratory testing is BEST described as