Source
The testing pyramide is a conceptual model that shows how to correctly distribute unit, integration and end-to-end tests.