Welcome to the final episode of our Pact series! I'm your Engineering Coach, and in this video, we'll introduce the Pact Broker, the central hub for all your consumer-driven contracts.
After seeing how to test a consumer and a producer in our previous videos, you might be asking, "How do they find each other?" The Pact Broker is the answer. We'll show you how to use it to publish contracts from the consumer and retrieve them for verification by the producer.
You'll see how this process gives you a complete, real-time view of the compatibility of your microservices. This is the final and most important step for any team that wants to adopt consumer-driven contract testing in a professional environment.
The code for this episode can be found in our previous GitHub repositories:
Consumer: https://github.com/the-engineering-co...
Producer: https://github.com/the-engineering-co...
Watch the Full Pact Series:
For a complete understanding of the Pact workflow, be sure to check out the full playlist:
👉 Watch the full Pact playlist here!
• Using Test Driven Development (TDD) to cre...
Let's Connect
For more software engineering tutorials and coaching, subscribe to The Engineering Coach on YouTube. You can also connect with me on Bluesky or Mastodon.
Mastodon: https://mastodon.social/@braddle
Bluesky: https://bsky.app/profile/braddle1.bsk...
LinkedIn: / mark-bradley-engineering-coach
#PactBroker #Pact #ContractTesting #Microservices #PHP #API #TheEngineeringCoach