Skip to content

Latest commit

 

History

History

quickstart

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

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