studio-poc-contract-testing

0.1.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i studio-poc-contract-testing

Weekly Downloads

1

Version

0.1.0

License

none

Unpacked Size

4.63 kB

Total Files

5

Last publish

Collaborators

  • alexsondermut
  • rlozano
  • ebannoyalo
  • annerdelgado
  • marco.ramon
  • diegopresteslikescode
  • josuayalo
  • jairyalere
  • nathali
  • alex_yalo
  • tarikferes
  • manuelcordon-yalo
  • waltermoorlag
  • reinholdyalo
  • cesar-aguirre-yalo
  • byronramos
  • adanmuguiro
  • uriel-yalo
  • ochoa_yalo
  • dapryalo
  • bonniemilianb
  • guilhermesborz
  • gago_ar
  • catyalere
  • jfelix-yalo
  • gabriel_yalo
  • janetyalo
  • julio.gonzalez
  • branmendozay
  • zkropotkine
  • fernandorincon
  • gustavoyalo
  • moisesflores22
  • josepablohm
  • yaogomezyalo
  • rommelyalopartner
  • yalo-engineering