Contract Testing with Pact
Explore how to implement contract testing with Pact in event-driven applications. Learn to use Pact Broker and CLI tools to automate consumer and provider verification, ensuring reliable communication between microservices in Go.
We'll cover the following...
We'll cover the following...
Just like using the Testify suite package for our more complex test setups, we will use a tool called Pact to handle a lot of the concerns outside of our tests. Pact provides libraries for many languages, which is handy for testing a JavaScript UI with your Go backend. Several tools can be used locally by the developers, as well as in the CI/CD process, to provide the promised confidence that deployments can happen with ...