Software today has shifted far from the monoliths of the past towards microservices. Microservices have many benefits over monoliths. They are more flexible, scalable and generally enable developers to add features more quickly. Unfortunately, testing cloud platform microservices is more complicated than it was in the monolithic ancestors.
For cloud services, functional, integration, and unit tests are performed by creating a lower-level version of your function and plugging in inputs. The outputs from the function can show how your logic and infrastructure performed during the test.