#25046: Initial SQL scripts (not data) for testing
---------------------------------+-----------------------------------------
Reporter: liwee | Owner: nobody
Type: New feature | Status: new
Component: Testing | Version: 1.8
framework |
Severity: Normal | Keywords: testing view create_test_db
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
I use quite a lot of database view (i.e. CREATE VIEW my_view) in my
project. The only way to test the views is set keepdb=True, load the views
and manage the test_database as a static entity forever. Ideally, I would
prefer creating a clean database from both fixtures and database views
whenever I need to run a test. Is it possible to add an option to load a
sql script on create_test_db?
--
Ticket URL: <https://code.djangoproject.com/ticket/25046>
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/048.0fc3d8bb62baaab9f18971c3defdbf39%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.