A test pyramid is a structure that explains the proportion of integration tests, end-to-end tests, and unit tests required for the proper project development. The components of the test pyramid are: Unit tests – Individual units of code are tested in isolation. Integration tests – Integration is tested among dissimilar units. End-to-end tests – The whole system is tested, from the user interface to the data store and back.