Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 629 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 629 Bytes

Python WireMock - Quickstart

This example shows using WireMock to mock your services is by using the provided WireMockContainer that uses testcontainers-python and provisions WireMock as a test container on-demand.

See the step-by-step guide here

Prerequisites

  • Python 3.7 or above
  • Pip 20.0.0 or above (use apt install python3-pip, for example)
  • Pytest 7.3.0 or above (use pip install pytest)
  • Testcontainers 3.5.0 or above (use pip install testcontainers)

TL;DR

pip install wiremock
pytest test.py -v