summaryrefslogtreecommitdiff
path: root/docs/internals/contributing/writing-code/unit-tests.txt
AgeCommit message (Collapse)Author
2019-01-13Fixed #27685 -- Added watchman support to the autoreloader.Tom Forbes
Removed support for pyinotify (refs #9722).
2018-11-09Fixed #29934 -- Added sqlparse as a require dependency.Tim Graham
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-04-17Fixed #29334 -- Updated pypi.python.org URLs to pypi.org.Brett Cannon
2018-01-07Updated various links in docs to use HTTPS.Mariusz Felisiak
2017-05-22Updated various links in docs to avoid redirectsClaude Paroz
Thanks Tim Graham and Mariusz Felisiak for review and completion.
2017-01-18Refs #23919 -- Removed Python 2 notes in docs.Tim Graham
2017-01-17Removed versionadded/changed annotations for 1.10.Tim Graham
2016-12-20Fixed #27439 -- Documented macOS locale configuration for Django tests.Alix Martineau
2016-11-04Updated "fork Django on GitHub" link.Tim Graham
2016-10-27Fixed #27327 -- Simplified time zone handling by requiring pytz.Tim Graham
2016-10-27Updated "running the tests" to use 'pip install -e'.Tim Graham
2016-08-09Fixed #26952 -- Added tips for installing test suite dependencies.an0o0nym
2016-07-20Fixed #22446 -- Added tox.ini to automate pull request checks.Tobias McNulty
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-04-25Refs #26033 -- Added password hasher support for Argon2 v1.3.Bas Westerbaan
The previous version of Argon2 uses encoded hashes of the form: $argon2d$m=8,t=1,p=1$<salt>$<data> The new version of Argon2 adds its version into the hash: $argon2d$v=19$m=8,t=1,p=1$<salt>$<data> This lets Django handle both version properly.
2016-04-05Fixed #26448 -- Added details for running tests with a different database ↵krishbharadwaj
backend.
2016-03-15Fixed #25364 -- Added generic way to test on all browsers supported by selenium.Akshesh
Browser names should be passed as a comma separated list to the --selenium flag. Thanks Tim Graham, Simon Charette and Moritz Sichert for review and discussion.
2016-03-08Fixed #26033 -- Added Argon2 password hasher.Bas Westerbaan
2016-03-05Removed claim that you can use different database backends for Django's tests.Tim Graham
Such as a setup isn't tested through continuous integration and therefore isn't likely to work reliably.
2016-02-19Fixed #25653 -- Made --selenium run only the selenium tests.Akshesh
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.