Workflow
- Define Contracts:
- The consumer creates a set of expectations (pacts) for the interactions it has with the provider.
- Verify Contracts:
- The provider tests itself against the pacts defined by the consumer to ensure it meets the consumer's expectations.
- Publish Pacts:
- Pacts are published to a pact broker, which serves as a repository for pacts and can facilitate collaboration between teams.
- Continuous Integration:
- Pacts are verified as part of the CI/CD pipeline to ensure that changes do not break existing contracts.