trivial-search / tau-pact-nodejs-course

Pact NodeJs Project created for the Test Automation University course

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

license

Known Vulnerabilities

PactJS project for the Test Automation University course

A simple Nodejs + Jest project configuring contract tests with PactJS

If you are running your pact broker locally following these instructions then you can run the provider and the publish the way it is, otherwise you will need to modify the pactUrls to the local path and if you are using docker as your pact broker than you need to update the publish script accordingly.

Running via CI

Just run the associated GitHub workflow with this repo , it runs the following sequentially

- npm install
- npm run test:consumer
- npm run test:provider
- npm run publish:contract

About

Pact NodeJs Project created for the Test Automation University course

License:MIT License


Languages

Language:JavaScript 100.0%