Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wiremock/python-wiremock
A Python library for API mocking and testing with Testcontainers module and WireMock
https://github.com/wiremock/python-wiremock
api api-client hacktoberfest pytest python test-automation testing-tools wiremock
Last synced: 6 days ago
JSON representation
A Python library for API mocking and testing with Testcontainers module and WireMock
- Host: GitHub
- URL: https://github.com/wiremock/python-wiremock
- Owner: wiremock
- License: other
- Created: 2017-03-24T21:34:20.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-13T09:24:35.000Z (3 months ago)
- Last Synced: 2024-09-19T12:38:15.929Z (about 2 months ago)
- Topics: api, api-client, hacktoberfest, pytest, python, test-automation, testing-tools, wiremock
- Language: Python
- Homepage: https://wiremock.readthedocs.io
- Size: 35.9 MB
- Stars: 58
- Watchers: 4
- Forks: 25
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Contributing: docs/CONTRIBUTING.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# Python WireMock
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](http://wiremock.readthedocs.org/).[![a](https://img.shields.io/badge/slack-%23wiremock%2Fpython-brightgreen?style=flat&logo=slack)](https://slack.wiremock.org/)
[![Docs](https://img.shields.io/badge/docs-latest-brightgreen.svg)](http://wiremock.readthedocs.org/)## Key Features
WireMock can run in unit tests, as a standalone process or a container. Key features include:
- [Testcontainers Python](https://github.com/testcontainers/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 ](https://wiremock.org/docs) (more on their way soon)## References
- [Quickstart Guide](./docs/quickstart.md)
- [Installation](./docs/install.md)
- [Full documentation](http://wiremock.readthedocs.org/)## Examples
There are several [example projects](./examples/) 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.- [Testcontainers Python](examples/intro/tests/test_testcontainers.py)
- [Standalone Java Server Version](examples/intro/tests/test_java_server.py)## Contributing
See the [Contributor Guide](./docs/CONTRIBUTING.md)