Test pyramid

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.

The concept of the testing pyramid was developed by Mike Cohn (http://www.mountaingoatsoftware.com/blog/the-forgotten-layer-of-the-test-automation-pyramid) in 2009.

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 ...

Get Building RESTful Web Services with .NET Core now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.