django-mock-queries
nose2
django-mock-queries | nose2 | |
---|---|---|
1 | 2 | |
312 | 776 | |
- | 0.8% | |
3.4 | 7.1 | |
28 days ago | 4 days ago | |
Python | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
nose2
-
Top 7 Python Frameworks for Automation Testing
Nose2 on GitHub — https://github.com/nose-devs/nose2
-
Getting Started With Nose2 in Python [Tutorial]
Hence, running tests in parallel with multiple processes with Nose2 is just about enabling the plugin through either of the options mentioned earlier! Nose2 is available on GitHub. Here are some more details about the project on Github:
What are some alternatives?
django-timed-tests - Get timing breakdown of your Django test suite
pytest - The pytest framework makes it easy to write small tests, yet scales to support complex functional testing
headlock - An adapter for making C code testable from Python (see https://headlock.readthedocs.io/en/latest)
nose - nose is nicer testing for python
drf-test-generator - A Django Package that generates basic unittest and pytest style tests for Django REST Framework ViewSets
aiounittest - Test python asyncio-based code with ease.
Robot Framework - Generic automation framework for acceptance testing and RPA
Behave - BDD, Python style.
hypothesis - Hypothesis is a powerful, flexible, and easy to use library for property-based testing.
Slash - The Slash testing infrastructure
mamba - The definitive testing tool for Python. Born under the banner of Behavior Driven Development (BDD).
flask-unittest - :wrench: Test Flask apps using unittest - with minimal headaches!