Test Pyramid is a model for organizing tests in a way to make the process of testing faster, efficient and cost-effective.
This model focusses on getting maximum functional testing getting covered by faster and less brittle tests like Unit and API tests.
Test Pyramid model says:
- Have maximum functionality tested by unit tests
- Have more functionality tested by less brittle tests like unit and API tests
- Have more functionality tested by faster-automated tests like unit and API tests
- Most of the testing should be automated
source – https://www.agilecoachjournal.com/2014-01-28/the-agile-testing-pyramid/agiletestingpyramid-3
Every product or application has different needs and solves different purposes. There may be a different target audience and market requirements may also differ.
Therefore Test Pyramid approach should be implemented considering what fits best for you and your team.