Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 858 Bytes

File metadata and controls

25 lines (18 loc) · 858 Bytes

Service: Common Platform (CP) Crime Scheduling and Listing Court Schedule

Documentation

Further documentation see the HMCTS Marketplace Springboot template readme.

Pact Provider Test

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

License

This project is licensed under the MIT License - see the LICENSE file for details