Skip to content
#58: Consumer-driven Contracts: TDD between services episode artwork

EPISODE · Nov 22, 2021 · 4 MIN

#58: Consumer-driven Contracts: TDD between services

from Around IT in 256 seconds · host Tomasz Nurkiewicz

Consumer-driven Contracts is an approach to testing integration between services. In a distributed system, many components talk to each other. Typically via request/response protocols or message queues. The client must know and understand the API provided by the server. What kind of endpoints are available, what formats, request/response schema. Without consumer-driven contracts (CDC for short), we are often reckless when it comes to testing. Maybe we have a bunch of smoke tests against a mocked server. Maybe we copy-paste typical responses from the server’s documentation. But both client and server can evolve, breaking the integration in unexpected ways. CDC attempts to codify the API without explicit schema and coordination. Read more: https://nurkiewicz.com/58 Get the new episode straight to your mailbox: https://nurkiewicz.com/newsletter

Episode metadata supplied by the publisher feed · Published Nov 22, 2021

Embed this episode

Ready to play

#58: Consumer-driven Contracts: TDD between services

0:00 4:14

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Around IT in 256 seconds?

This episode is 4 minutes long.

When was this Around IT in 256 seconds episode published?

This episode was published on November 22, 2021.

Can I download this Around IT in 256 seconds episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!