The testing pyramid is a tool to guide us through what kinds of tests can be written and at what levels. Tests at the top of the pyramid indicate fewer tests are needed, whereas more testing is required at the bottom of the pyramid. It illustrates what we should aim for and is shown in the following diagram:
The testing pyramid consists of four levels, as explained here:
- System tests (top level): These tests span across the complete distributed microservice system and are usually implemented through the GUI.
- Service tests (middle level): These tests checks the complete execution of the business ...