The Inverted Pyramid

The inverted pyramid, or ice cream cone,[10] is what we call a system with lots of UI tests at the top, and little or no unit tests at the bottom.

images/climb/invert.png

Inverted pyramids happen for a variety of reasons. One common scenario is that a team realizes it could benefit from having some kind of automated testing in its application, but no one wants to do it—save the testers. So the team members reach for the one tool at arm’s reach—the UI tests—and they go to town automating pretty much everything they can.

The ice cream tastes good at first, but then something funny starts to happen. The testers start to find out just how much time and ...

Get The Way of the Web Tester now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.