The testing pyramid is a strategy or a way of defining what you should test in RESTful services. In other words, we can say a test pyramid helps us to define the testing scope of RESTful services.
There are various flavors of the testing pyramid; different authors have described this by indicating how they placed or prioritized their testing scope.
The following diagram depicts the same concept as defined by Mike Cohn:
Let's talk about these layers in detail.
- Unit ...