Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
VCR.py Alternatives
Similar projects and alternatives to VCR.py
-
-
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
-
httpretty
Intercept HTTP requests at the Python socket level. Fakes the whole socket module (by gabrielfalcao)
-
Moto
A library that allows you to easily mock out tests based on AWS infrastructure.
-
-
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
Mocket
a socket mock framework - for all kinds of socket animals, web-clients included
-
-
-
pytest-recording
A pytest plugin that allows recording network interactions via VCR.py
-
-
-
playback-proxy
Discontinued Proxy server that records responses for UI testing (and other things)
-
-
Mock Generator
A tool to auto generate the basic mocks and asserts for faster unit testing
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
VCR.py reviews and mentions
-
Please recommend a good API Mocking tool
I made a library for this: https://github.com/kevin1024/vcrpy
-
3 Ways to Unit Test REST APIs in Python
Now it’s finally the time to discuss our last option. I have only found about it quite recently, frankly. I’ve been using mocks for a long time and always had some problem with them. VCR.py is a library that simplifies a lot the tests that make HTTP requests.
- My Python testing style guide – Stargirl (Thea) Flowers
-
Two Methods for Testing HTTPS API Calls with Python and pytest and also Communicating with the In-laws
Unfortunately, VCR.py only supports a certain number of HTTP client libraries. Thankfully, some very popular implementations are included: the Python built-in urllib and http.client, as well as requests, urllib3, and aiohttp. And, while it may not be listed in the docs at the time of this writing, the changelog notes that HTTPX is also supported. Sadly, pycurl is not supported.
-
Magic numbers for Verify?
I don't normally work in Python, so I'm not used to writing mocks. You should be able to mock the client, but if that is too much you might look into something like VCR.py which records underlying HTTP interactions and then plays them back in further tests. (Make sure to redact any API keys from the cassettes though.)
-
playback-proxy - record communication between client and server and play it back later during testing
https://betamax.readthedocs.io/en/latest/ https://github.com/kevin1024/vcrpy
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Mar 2024
Stats
kevin1024/vcrpy is an open source project licensed under MIT License which is an OSI approved license.
The primary programming language of VCR.py is Python.