Testing at the boundaries: using Consumer Driven Contracts to keep your micro-services in sync.
As the number of micro-services in a system grows, it becomes much more difficult to stand up an entire system to test service to service interactions. You can mock out dependencies to test single services in isolation, but how can you be sure that your mocks stay up to date as the system evolves?
In this session we will explore the concept of Consumer Driven Contracts. You will learn how you can:
* formalize the interactions between two services into a contract
* keep your contracts up to date as a side-effect running your tests
* test services in isolation by generating mocks from contracts
* safely evolve the interfaces of services while maintaining compatibility
* bonus: use CDC to test the interactions between a web app and the server.
Andrew Fitzgerald (Fitz) is a Software Engineer at Fuse by Cardinal Health. He lives in Java/Spring land most days, spends a decent amount of time playing with the other JVM languages, and still has a soft spot in his heart for Python. Outside of programming, he enjoys rucking, mauling, and scrummaging (He has played rugby on and off for the past 10 or so years).
Pizza and beer at 6:30 – talk starts at 7.