Welcome back to our series on consumer-driven contract testing with Pact! In this episode, we'll shift our focus from the consumer to the producer, showing you how to test-drive the implementation of an HTTP producer in PHP.
This is a crucial step in the Pact workflow. You'll learn how to verify the consumer's contract on the producer's side, ensuring that your API will always meet the expectations of its clients. We'll show you how this process helps you build microservices with confidence, knowing that your API won't break client applications with every new release.
This video, along with our previous one on consumer testing, will give you a complete picture of the Pact workflow in a practical, hands-on way.
The code for this episode can be found on GitHub: https://github.com/testingallthething...
Previous in the Series:
If you missed the first video, check out our guide on testing the HTTP consumer:
👉 Watch the video on consumer testing here!
• An Introduction to Pact: Consumer-Driven C...
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
#Pact #ContractTesting #Microservices #PHP #API #TDD #TheEngineeringCoach