drf-test-generator VS django-mock-queries

Compare drf-test-generator vs django-mock-queries and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
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.

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
    5 projects | dev.to | 24 Mar 2023
    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?
    1 project | /r/django | 16 Jun 2022
    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!