This repository contains a working example of two basic microservices implementing Consumer Driven Contract Testing using Pact.
This code is not meant to be deployed to any environment rather than local execution. It has been built solely for the purpose of showing how Consumer Driven Contract Testing works.
In order to run this code on your machine, you need to have the following dependencies:
- NodeJS (at least 14)
- Yarn
To install all dependencies, run the following command:
yarn install
This code can run locally via the following command:
yarn start
The tests can be run locally via the following command:
yarn test
- Alessio Eros Ferri