Allow to override TEST_RUNNER setting with a command-line option to 'manage.py 'test'
|Reported by:||Dmitry Jemerov||Owned by:||nobody|
|Cc:||msiedlarek||Triage Stage:||Ready for checkin|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
In order to enable the integration of the Django test framework with IDE test runners, it's useful to be able to replace or decorate the test runner specified by the TEST_RUNNER setting in settings.py. Currently, the only way to do so is to provide our own settings.py which imports the user's settings.py and then changes the TEST_RUNNER setting. This is ugly and not always works.
A much preferred solution is to be able to override the test runner with a command line option passed to 'manage.py test'.
I've discussed this approach with russelm at the DjangoCon.EU sprint, and it was approved in general.
Change History (5)
comment:1 Changed 5 years ago by
|Patch needs improvement:||unset|
|Triage Stage:||Unreviewed → Accepted|