What Is the Test Pyramid?

Learn about the basics of the test pyramid and why it should be used.

Basics of the test pyramid

The test pyramid is a model that shows the different levels of testing, with the most preferred and reliable tests at the bottom and less preferred and reliable tests at the top. The pyramid levels are unit/component level, API level, and end-to-end, also known as the UI and acceptance levels. By using the test pyramid, teams can ensure that they are using the right level of testing at the right time. As a result, the test pyramid ideas will help teams save time and money while ensuring that their products are of the highest quality. The following illustrates the test pyramid:

Get hands-on with 1200+ tech skills courses.