jmrobles / pact-python-demo

CDC Testing with Pact, Pact broker and Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Consumer-Driven Contract Testing with Pact and Python

This repo is part of a Medium post where I discuss how to use Pact as platform to add CDC testing to your projects.

Instructions

  1. Create venv and install requirements
python3 -m venv venv
pip install -r requirements.txt
  1. Ensure the Pact broker is running and up

Consumer

cd consumer
./run_pytest.sh

Provider

cd provider
./run_pytest.sh

About

CDC Testing with Pact, Pact broker and Python


Languages

Language:Python 98.1%Language:Shell 1.9%