VCR.py VS mock

Compare VCR.py vs mock and see what are their differences.

VCR.py

Automatically mock your HTTP interactions to simplify and speed up testing (by kevin1024)

mock

The Python mock library (by testing-cabal)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
VCR.py mock
6 1
2,610 530
- 0.2%
8.9 5.6
7 days ago 12 days ago
Python Python
MIT License BSD 2-clause "Simplified" License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

VCR.py

Posts with mentions or reviews of VCR.py. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-16.

mock

Posts with mentions or reviews of mock. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-05-23.

What are some alternatives?

When comparing VCR.py and mock you can also consider the following projects:

responses - A utility for mocking out the Python Requests library.

Moto - A library that allows you to easily mock out tests based on AWS infrastructure.

betamax - A VCR imitation designed only for python-requests.

freezegun - Let your Python tests travel through time

httpretty - Intercept HTTP requests at the Python socket level. Fakes the whole socket module

doublex

httmock - A mocking library for requests