-
Type: Task
-
Resolution: Unresolved
-
Priority: Unknown
-
None
-
Affects Version/s: None
-
Component/s: django
-
None
-
Python Drivers
Context
Taken from github issue: https://github.com/mongodb-labs/django-mongodb/issues/181
We're looking to optimize the run-time of the test cases. (Currently takes 20 minutes to run all tests, but we can get it down much lower)
See the discussion in #179.
One possibility beyond that discussion is to have Django's test suite TestCase classes set available_apps. Currently, runtests.py only enforces available_apps for TransactionTestCase but for database backends like django-mongodb that don't support transactions, TestCase functions like TransactionTestCase with regards to flushing the database.
Definition of done
Investigate and provide a list of potential options to mitigate issue.
Pitfalls
N/A