#19941: Make running django's test suite easier
------------------------------------------------+------------------------
Reporter: akaariai | Owner: nobody
Type: Cleanup/optimization | Status: new
Component: Testing framework | Version: master
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
------------------------------------------------+------------------------
Two suggested changes to tests/runtests.py:
1. Automatically use tests/../django as the Django version.
2. If no other settings given (either through --settings or
DJANGO_SETTINGS_MODULE) then use test_sqlite as settings
Both of the above changes are available from:
https://github.com/akaariai/django/compare/test_auto_settings
The first item raises a question: is there some use case where one wants
to run tests against *different* django version? To me it seems one
wouldn't want to do this, the tests are tied to specific django version.
I can't see any drawback by doing the second item.
--
Ticket URL: <https://code.djangoproject.com/ticket/19941>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.