drf-test-generator
A Django Package that generates basic unittest and pytest style tests for Django REST Framework ViewSets (by saadmk11)
django-mock-queries
A library for mocking django queryset functions in memory for testing (by stphivos)
Our great sponsors
drf-test-generator | django-mock-queries | |
---|---|---|
1 | 1 | |
25 | 311 | |
- | - | |
3.2 | 3.4 | |
about 1 year ago | 11 days 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.
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
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.
What are some alternatives?
When comparing drf-test-generator and django-mock-queries you can also consider the following projects:
django-performance-testing - automated django performance tests
nose2 - The successor to nose, based on unittest2
recipe-api - A recipe sharing API built using Django rest framework.
django-timed-tests - Get timing breakdown of your Django test suite
fixtup - Test python application beyond the code boundaries !
headlock - An adapter for making C code testable from Python (see https://headlock.readthedocs.io/en/latest)
pysh - bash in python
flask-unittest - :wrench: Test Flask apps using unittest - with minimal headaches!
drf-test-generator vs django-performance-testing
django-mock-queries vs nose2
drf-test-generator vs recipe-api
django-mock-queries vs django-timed-tests
drf-test-generator vs fixtup
django-mock-queries vs headlock
drf-test-generator vs django-timed-tests
drf-test-generator vs pysh
drf-test-generator vs flask-unittest