testing microservices

Goals of testing:

  1. code should do what it should be doing
  2. provide fast, reliable and accurate feedback
  3. make overall maintenance easier

microservice_testing_pyramid.png

By Mike Cohn

As you go up the scope increases and the number of tests decreases

Types of tests

This doesn't entirely match up to the above image.

References