django-mock-queries
A library for mocking django queryset functions in memory for testing (by stphivos)
drf-test-generator
A Django Package that generates basic unittest and pytest style tests for Django REST Framework ViewSets (by saadmk11)
django-mock-queries | drf-test-generator | |
---|---|---|
1 | 1 | |
312 | 25 | |
- | - | |
3.4 | 3.2 | |
27 days ago | about 1 year ago | |
Python | Python | |
MIT License | MIT 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.
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
Posts with mentions or reviews of django-mock-queries.
We have used some of these posts to build our list of alternatives
and similar projects.
-
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.
drf-test-generator
Posts with mentions or reviews of drf-test-generator.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-03-24.
-
This Week In Python
drf-test-generator – A Django Package that generates basic unittest and pytest style tests for Django REST Framework ViewSets
What are some alternatives?
When comparing django-mock-queries and drf-test-generator you can also consider the following projects:
nose2 - The successor to nose, based on unittest2
django-performance-testing - automated django performance tests
django-timed-tests - Get timing breakdown of your Django test suite
recipe-api - A recipe sharing API built using Django rest framework.
headlock - An adapter for making C code testable from Python (see https://headlock.readthedocs.io/en/latest)
fixtup - Test python application beyond the code boundaries !
pysh - bash in python
flask-unittest - :wrench: Test Flask apps using unittest - with minimal headaches!
django-mock-queries vs nose2
drf-test-generator vs django-performance-testing
django-mock-queries vs django-timed-tests
drf-test-generator vs recipe-api
django-mock-queries vs headlock
drf-test-generator vs fixtup
drf-test-generator vs django-timed-tests
drf-test-generator vs pysh
drf-test-generator vs flask-unittest