#23778: Running tests outside the test runner needs clarification
--------------------------------------+------------------------------------
Reporter: Starou | Owner: Starou
Type: Cleanup/optimization | Status: assigned
Component: Documentation | Version: 1.7
Severity: Normal | Resolution:
Keywords: tests run_tests | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------------+------------------------------------
Comment (by prestontimmons):
I think there's merit to keeping your example minimal.
I just started imagining a best-practice type section of the docs for
running tests in reusable apps. It would cover things like:
* Using the test runner in a script
* Managing python path
* Adding test-only models
* Configuring settings manually when including an example project is
overkill
* etc.
This assumes there's a relative consensus of what "best practice" means.
I don't think that's in scope of this ticket, though.
--
Ticket URL: <https://code.djangoproject.com/ticket/23778#comment:6>
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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.3fec4bfd947a2c658159848a095b40d8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.