#24118: Add --debug-sql option to tests to print SQL queries on failure
-------------------------------------+-------------------------------------
     Reporter:  mjtamlyn             |                    Owner:  mjtamlyn
         Type:  New feature          |                   Status:  closed
    Component:  Testing framework    |                  Version:  master
     Severity:  Normal               |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Marc Tamlyn <marc.tamlyn@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"b5c1a85b50c709770b8e98aeecfeb8e81ca29dcf"]:
 {{{
 #!CommitTicketReference repository=""
 revision="b5c1a85b50c709770b8e98aeecfeb8e81ca29dcf"
 Fixed #24118 -- Added --debug-sql option for tests.

 Added a --debug-sql option for tests and runtests.py which outputs the
 SQL logger for failing tests. When combined with --verbosity=2, it also
 outputs the SQL for passing tests.

 Thanks to Berker, Tim, Markus, Shai, Josh and Anssi for review and
 discussion.
 }}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24118#comment:4>
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/066.5dd76b179d5b2e7bd81b365a4eaa127c%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to