mock
pytest-fastapi-deps
mock | pytest-fastapi-deps | |
---|---|---|
1 | 1 | |
530 | 25 | |
0.2% | - | |
5.6 | 0.0 | |
18 days ago | about 1 year ago | |
Python | Python | |
BSD 2-clause "Simplified" License | MIT |
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.
mock
-
mock VS pytest-fastapi-deps - a user suggested alternative
2 projects | 23 May 2022
pytest-fastapi-deps
-
mock VS pytest-fastapi-deps - a user suggested alternative
2 projects | 23 May 2022
This library allows you to easily replace FastAPI dependencies in your tests. Regular mocking techniques do not work due to the nature of how FastAPI works.
What are some alternatives?
VCR.py - Automatically mock your HTTP interactions to simplify and speed up testing
coverage
Moto - A library that allows you to easily mock out tests based on AWS infrastructure.
Mimesis - Mimesis is a powerful Python library that empowers developers to generate massive amounts of synthetic data efficiently.
freezegun - Let your Python tests travel through time
factory_boy - A test fixtures replacement for Python
httmock - A mocking library for requests
mixer - Mixer -- Is a fixtures replacement. Supported Django, Flask, SqlAlchemy and custom python objects.
doublex
httpretty - Intercept HTTP requests at the Python socket level. Fakes the whole socket module
tox - Command line driven CI frontend and development task automation tool.