Skip to Content
Microservices Patterns
book

Microservices Patterns

by Chris Richardson
November 2018
Intermediate to advanced
520 pages
16h 20m
English
Manning Publications
Content preview from Microservices Patterns

Chapter 10. Testing microservices: Part 2

This chapter covers:

  • Techniques for testing services in isolation
  • Using consumer-driven contract testing to write tests that quickly yet reliably verify interservice communication
  • When and how to do end-to-end testing of applications

This chapter builds on the previous chapter, which introduced testing concepts, including the test pyramid. The test pyramid describes the relative proportions of the different types of tests that you should write. The previous chapter described how to write unit tests, which are at the base of the testing pyramid. In this chapter, we continue our ascent of the testing pyramid.

This chapter begins with how to write integration tests, which are the level above unit tests ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microservices Patterns

Microservices Patterns

Chris Richardson

Publisher Resources

ISBN: 9781617294549Supplemental ContentPublisher SupportOtherPublisher WebsiteSupplemental ContentErrata PagePurchase Link