Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

studio-poc-contract-testing

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

studio-poc-contract-testing

### Pre requirements - The provide test expects workflows-manager to be running on `http://localhost:4000/v1`, it can be changed in `provider.pact.spec.js`

latest
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

PACT POC

Pre requirements

  • The provide test expects workflows-manager to be running on http://localhost:4000/v1, it can be changed in provider.pact.spec.js

  • Pact 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.io
    • export PACT_BROKER_TOKEN=5yWEUZ-HdeaxscveZ0OMFQ

To run it

npm install to install dependencies
npm run test:consumer to generate the pacts
npm run publish to upload the pact to the pact broker
npm run test:provider to test provider

FAQs

Package last updated on 22 Sep 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts