Skip to content

A Python library for API mocking and testing with Testcontainers module and WireMock

License

Notifications You must be signed in to change notification settings

wiremock/python-wiremock

Folders and files

NameName
Last commit message
Last commit date
Dec 16, 2024
Sep 6, 2023
Dec 16, 2024
Dec 16, 2024
Dec 16, 2024
Jul 11, 2023
Jul 11, 2023
Jul 12, 2023
Apr 29, 2023
Mar 24, 2017
Apr 27, 2017
Jul 11, 2023
Aug 8, 2023
May 14, 2023
Aug 8, 2023
Aug 9, 2024
Sep 6, 2023
Jul 12, 2023
Apr 29, 2023
Apr 29, 2023

Repository files navigation

Python WireMock

WireMock Logo

Python WireMock is a library that allows users to interact with a WireMock instance from within a Python project. Full documentation can be found at wiremock.readthedocs.org.

a Docs

Key Features

WireMock can run in unit tests, as a standalone process or a container. Key features include:

  • Testcontainers Python module to easily start WireMock server for your tests
  • REST API Client for a standalone WireMock Java server
  • Support for most of major WireMock features (more on their way soon)

References

Examples

There are several example projects included to demonstrate the different ways that WireMock can be used to mock services in your tests and systems. The example test modules demonstrate different strategies for testing against the same "product service" and act as a good demonstration of real world applications to help you get started.

Contributing

See the Contributor Guide