Chapter 4. Microservices testing

This chapter covers

  • What types of testing do you need to consider?
  • Which tools are appropriate for microservices?
  • Implementing unit testing for microservices
  • Implementing integration testing for microservices
  • Using consumer-driven contract testing

Where to start! So many types and levels of testing can be implemented for anything. Complicating things further is that different people will likely have different points of view, specifically in regard to what the various types of testing should accomplish.

Let’s get on the same page with respect to the types of testing and create a common understanding of their meaning for us all! In this chapter, you’ll focus only on the types of testing that are relevant for ...

Get Enterprise Java Microservices 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.