Skip to content

2KAbhishek/pact-order-test

Repository files navigation

License People Stars Forks Watches Last Updated

Contract Based Tests with Pact 🧪✅

What is this

Example of Contract Based Tests using Pact on an Order API.

Inspiration

Was exploring pact, created this for tweaking

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of node

Getting pact-order-test

To get pact-order-test, follow these steps:

git clone https://github.com/2kabhishek/pact-order-test
cd pact-order-test
npm install

Using pact-order-test

Consumer Specs

node index-consumer.js

Provider Specs

node index-provider.js

Generated pact files are stored here

How it was built

pact-order-test was built using nvim

What I learned

  • Learning in progress

To-Do

  • Add more specs

Hit the ⭐ button if you found this useful.

More Info

Releases

No releases published

Sponsor this project

 

Packages

No packages published