django-mock-queries
green
django-mock-queries | green | |
---|---|---|
1 | - | |
312 | 782 | |
- | - | |
3.4 | 7.9 | |
about 1 month ago | 26 days ago | |
Python | Python | |
MIT License | MIT License |
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.
django-mock-queries
-
Best way to mock QuerySets in pytest?
It seems like most people just use SQLite for testing, but I have used https://github.com/stphivos/django-mock-queries in the past to keep tests completely in memory. There are some caveats with using that library, but it will work for most querysets.
green
We haven't tracked posts mentioning green yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
nose2 - The successor to nose, based on unittest2
tox - Command line driven CI frontend and development task automation tool.
django-timed-tests - Get timing breakdown of your Django test suite
callee - Argument matchers for unittest.mock
headlock - An adapter for making C code testable from Python (see https://headlock.readthedocs.io/en/latest)
Selenium Wire - Extends Selenium's Python bindings to give you the ability to inspect requests made by the browser.
drf-test-generator - A Django Package that generates basic unittest and pytest style tests for Django REST Framework ViewSets
PyRestTest - Python Rest Testing
aiounittest - Test python asyncio-based code with ease.
Schemathesis - Supercharge your API testing, catch bugs, and ensure compliance
RedExpect - Automate SSH in python easily!
Python Testing Crawler - A crawler for automated functional testing of a web application