Chapter 3. Unit-testing microservices
This chapter covers
- Applying unit testing techniques in a microservices-based architecture
- Deciding which tools fit best for writing unit tests
- Understanding solitary versus sociable unit tests
- Writing readable, robust unit tests
So far, you’ve become acquainted with the basic architecture, anatomy, and typical patterns used when developing microservices. You’ve also been introduced to the Gamer application, which is the reference application used throughout the book and for which we’ll now write some tests. In this chapter, you’ll learn how to write unit tests for a microservices-based architecture.
3.1. Unit testing techniques
As you now know, unit testing is a testing technique where the code of ...
Get Testing 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.