1
0
mirror of https://github.com/django/django.git synced 2025-04-02 20:46:41 +00:00
Marc Tamlyn b5c1a85b50 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.
2015-01-12 08:16:08 +00:00
..
2014-10-22 21:21:02 -04:00
2013-12-24 12:25:17 +01:00
2014-08-18 13:44:10 -04:00
2013-11-02 23:50:49 -05:00
2013-11-02 23:50:49 -05:00
2014-12-06 12:06:06 -05:00
2013-12-24 12:25:17 +01:00
2014-12-28 17:02:30 +01:00

To run the test suite::

    $ cd tests
    $ pip install -r requirements/py3.txt  # or py2.txt
    $ PYTHONPATH=..:$PYTHONPATH ./runtests.py

For more information about the test suite, see
https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/unit-tests/.