summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code/unit-tests.txt
AgeCommit message (Collapse)Author
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
2016-01-06Refs #25746 -- Added a test utility to isolate inlined model registration.Simon Charette
Thanks to Tim for the review.
2015-12-01Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
2015-11-19Fixed #25764 -- Added support for serialization of enum.Enum in migrations.Andrei Fokau
Thanks Tim Graham for the review.
2015-11-16Documented how to see the full traceback of a test failure.Tim Graham
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-09-16Updated docs coverage example to run in a single process.David Gibbons
2015-09-10Enabled parallel testing by default in runtests.py.Aymeric Augustin
2015-09-05Updated references to the TEST_* database settings.Aymeric Augustin
They were removed in Django 1.9. I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release notes because the link points to the right location and the name was accurate at the time.
2015-08-08Updated various links in docsClaude Paroz
2015-07-31Fixed #25184 -- Added support for MaxMind GeoLite2 database formatFlavio Curella
2015-07-03Updated mock note since Django no longer works with Python 3.2.Tim Graham
2015-07-03Fixed #25056 -- Documented minimum version of jinja2 for testing.Tim Graham
2015-06-18Removed support for Python 3.3.Tim Graham
2015-03-24Fixed #23666 -- Recommended Git Bash for running unit tests on Windows.Carolina
2015-02-22Fixed #24358 -- Corrected code-block directives for console sessions.Sean Wang
2015-02-11Updated docs and runtests.py for removal of tests from contrib.Tim Graham
2015-02-10Updated docs on running selenium tests.Tim Graham
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2015-01-12Fixed #24118 -- Added --debug-sql option for tests.Marc Tamlyn
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.
2014-12-01Fixed #23289 -- Added mock as a test dependency.Tim Graham
2014-11-24Fixed #23742 -- Added an option to reverse tests order.wrwrwr
This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review.
2014-11-24Improved line breaking in runtests docs.wrwrwr
2014-11-12Fixed #23775 -- Added docs for --bisect and --pair runtests options.wrwrwr
Thanks Baptiste Mispelon for review.
2014-10-23Fixed versionchanged indentation in unit-tests.txt.Berker Peksag
2014-08-26Fixed clone URL of Django git repository.Duncan Parkes
2014-08-05Fixed broken links in docs.Tim Graham
2014-04-26Fixed #3214 -- Stopped parsing SQL with regex.Aymeric Augustin
Avoided introducing a new regex-based SQL splitter in the migrations framework, before we're bound by backwards compatibility. Adapted this change to the legacy "initial SQL data" feature, even though it's already deprecated, in order to facilitate the transition to migrations. sqlparse becomes mandatory for RunSQL on some databases (all but PostgreSQL). There's no API to provide a single statement and tell Django not to attempt splitting. Since we have a more robust splitting implementation, that seems like a good tradeoff. It's easier to add a new keyword argument later if necessary than to remove one. Many people contributed to both tickets, thank you all, and especially Claude for the review. Refs #22401.
2014-04-16Revert "Fixed #22401 -- Deprecated regular expression parsing of initial SQL ↵Tim Graham
in favor of installing sqlparse." This reverts commit 071c9337750b296d198cced56f3ffad0e176afb6. This introduced a regression on MySQL and custom SQL is deprecated.
2014-04-16Fixed #22457 -- Fixed contributing guide w/o github set-upJordi Yeh
The published commnand was not working when the user did not have the git client set-up with the public-key. Changed the contributing guide to clone it from https instead.
2014-04-09Fixed #22401 -- Deprecated regular expression parsing of initial SQL in ↵julien 'pouete' Godin
favor of installing sqlparse.
2014-03-16Fixed #21991 -- Added warning regarding tests failure if locales not installed.Anubhav Joshi
Thanks reidrac for the report.
2013-12-31Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.Tim Graham
Thanks cjerdonek for the suggestion.
2013-12-25Unified listing of shell commands/codeYaroslav Halchenko
- use code-block:: bash - prefix the command with $
2013-12-24Updated a few doc paragraphs following the app-loading refactor.Aymeric Augustin
2013-12-08Updated a bunch of hyperlinks in documentationClaude Paroz
2013-12-02Fixed #21538 -- Added numpy to test/requirements/base.txtAlasdair Nicol
Thanks Tim Graham for the report
2013-11-09Fixed #16969 -- Don't connect to named database when possibleClaude Paroz
Thanks Andreas Pelme for the report and initial patch, and Aymeric Augustin, Shai Berger and Tim Graham for the reviews.
2013-10-23Fixed #19941 -- Removed sys.path hack when running the test suite.Tim Graham
Thanks jezdez for the suggestion.
2013-10-09Fixed #21222 - Documented that 'default' and 'other' must be different ↵Tim Graham
databases when running tests. Thanks vernondcole for the suggestion.
2013-09-25Fixed wording in unit tests documentation.Baptiste Mispelon
2013-09-06Fixed instructions for running a subset of tests.Tim Graham
2013-08-27Updated instructions for running contrib tests.Matt Robenolt
2013-07-24Fixed #19941 -- Modified runtests.py to make running the tests easier.Anssi Kääriäinen
1. Automatically use tests/../django as the Django version. 2. If settings aren't provided through --settings or DJANGO_SETTINGS_MODULE) then use test_sqlite.
2013-07-10Added some missing test requirements in the docs; refs #19196Tim Graham
2013-07-10Fixed #19196 -- Added test/requirementsTim Graham
2013-05-20Tweaked unit test 'quick start' explanation.Tim Graham
Thanks Jeremy Dunck.
2013-02-26Updated docs to reflect new tests layout.Florian Apolloner
Thanks to Ramiro Morales for the initial patch.
2013-02-25Fixed #19854 -- Turn Django's own Selenium tests off by default.Carl Meyer
2013-02-23Added test runner option to skip Selenium tests (#19854).Zbigniew Siciarz