0.1.0 • Published 4 years ago
studio-poc-contract-testing v0.1.0
PACT POC
Pre requirements
The provide test expects workflows-manager to be running on
http://localhost:4000/v1, it can be changed inprovider.pact.spec.jsPact broker and tiken must be exported as env variables, there is a pact flow created for this POC, to use it export these variables:
export PACT_BROKER_BASE_URL=https://yalo.pactflow.ioexport PACT_BROKER_TOKEN=5yWEUZ-HdeaxscveZ0OMFQ
To run it
npm install to install dependenciesnpm run test:consumer to generate the pactsnpm run publish to upload the pact to the pact brokernpm run test:provider to test provider
0.1.0
4 years ago