Allow to override TEST_RUNNER setting with a command-line option to 'manage.py 'test'
|Reported by:||intelliyole||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)
Changed 4 years ago by intelliyole
comment:1 Changed 4 years ago by nnrcschmdt
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Triage Stage changed from Unreviewed to Accepted