pactflow-getting-started-js

0.2.1 • Public • Published

Standalone Setup and Execution

  1. npm install

  2. Sign up for pactflow and export the pact broker url and api token in your local machine.
    export PACT_BROKER_BASE_URL= https://slalomukbuild.pactflow.io export PACT_BROKER_TOKEN=TOKEN
    replace URL and TOKEN with actual values

  3. Execute consumer tests - npm run test:consumer

  4. Publish the pacts generated to the pactflow/broker: npm run publish

  5. Execute the pact tests at provider end - npm run test:provider

  6. Verify the results in the pactflow broker

    alt text

Dependents (0)

Package Sidebar

Install

npm i pactflow-getting-started-js

Weekly Downloads

0

Version

0.2.1

License

none

Unpacked Size

281 kB

Total Files

23

Last publish

Collaborators

  • srentala