Further documentation see the HMCTS Marketplace Springboot template readme.
Run pact provider test and publish verification report to pact broker locally
Update .env file with below details (replacing placeholders with actual values):
export PACT_BROKER_URL="https://hmcts-dts.pactflow.io"
export PACT_BROKER_TOKEN="YOUR_PACTFLOW_BROKER_TOKEN"
export PACT_ENV="local" # or value based on the environment you are testing against
export PACT_VERIFIER_PUBLISH_RESULTS=true
Run Pact tests:
gradle pactVerificationTest
This project is licensed under the MIT License - see the LICENSE file for details