Mike Cohn’s Test Pyramid describes the type of automated tests required for software development. The Test Pyramid is only a metaphor that implies a grouping of tests based on their granularity. This Pyramid tells which kind of tests should be applied to different levels of the pyramid.
Mike Cohn’s test pyramid consists of three layers that a test suite should consist:
Unit Testing
Service Testing
User Interface Testing.
Two points to be derived from Cohn’s pyramid is that:
Define tests with different granularity
The higher in the level you get, the fewer tests you should have.