| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-06-02 | [4.1.x] Fixed #33757 -- Clarified Client.post() file upload example. | Tim Graham | |
| Backport of 61badf1d58e79b84874afa6a1e00b79f20e786d1 from main | |||
| 2022-04-28 | Added backticks to code literals in various docs. | David | |
| 2022-04-06 | Fixed #33348 -- Changed ↵ | Baptiste Mispelon | |
| SimpleTestCase.assertFormError()/assertFormsetErrors() to take form/formset. Instead of taking a response object and a context name for the form/formset, the two methods now take the object directly. | |||
| 2022-03-10 | Changed some words to use inline markup. | David Smith | |
| 2022-01-26 | Adjusted CBV resolver_match example in testing tools docs. | Carlton Gibson | |
| The view_class is available on the view callback, allowing that to be checked, rather than the __name__. | |||
| 2022-01-10 | Corrected signatures of some functions in docs. | Mariusz Felisiak | |
| 2021-12-28 | Avoided counting attributes and methods in docs. | Mariusz Felisiak | |
| 2021-11-26 | Fixed #33301 -- Clarified the type of arguments required by custom assertions. | Baptiste Mispelon | |
| 2021-11-08 | Fixed #33264 -- Made test runner return non-zero error code for unexpected ↵ | Baptiste Mispelon | |
| successes. | |||
| 2021-10-21 | Fixed #33211 -- Updated tests for Selenium 4.0.0. | Carlton Gibson | |
| Replaced deprecated `find_element[s]_by_*()` usages, in favour of `find_element[s]()` with an explicit `By`. | |||
| 2021-10-18 | Refs #32956 -- Changed docs to treat the acronym HTTP phonetically. | David Smith | |
| 2021-09-21 | Fixed broken links and redirects in docs. | Mariusz Felisiak | |
| 2021-09-20 | Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when ↵ | Mariusz Felisiak | |
| compared to string values. Per deprecation timeline. | |||
| 2021-09-20 | Removed versionadded/changed annotations for 3.2. | Mariusz Felisiak | |
| 2021-08-30 | Fixed #33054 -- Made TestCase.captureOnCommitCallbacks() capture callbacks ↵ | Eugene Morozov | |
| recursively. | |||
| 2021-08-24 | Fixed #32552 -- Added logger argument to DiscoverRunner. | Chris Jerdonek | |
| 2021-08-17 | Fixed #32964 -- Corrected 'setup'/'set up' usage in docs. | Andrew Northall | |
| 2021-08-02 | Updated BaseDatabaseFeatures link in testing tools docs. | Lauri Tirkkonen | |
| 2021-07-29 | Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵ | David Smith | |
| appropriate. | |||
| 2021-07-27 | Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments. | David Smith | |
| This also removes unnecessary comments with the previous spelling. AP Stylebook has a short entry to advise the preferred spelling for "en-us". "Afterwards" is preferred in British English. | |||
| 2021-07-16 | Fixed #32655 -- Deprecated extra_tests argument for ↵ | Jacob Walls | |
| DiscoverRunner.build_suite()/run_tests(). | |||
| 2021-07-08 | Fixed #24522 -- Added a --shuffle option to DiscoverRunner. | Chris Jerdonek | |
| 2021-06-01 | Refs #32552 -- Added DiscoverRunner.log() to allow customization. | Daniyal | |
| Thanks Carlton Gibson, Chris Jerdonek, and David Smith for reviews. | |||
| 2021-05-17 | Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS. | Nick Pope | |
| 2021-03-26 | Fixed #32591 -- Made DiscoverRunner order _FailedTest objects first. | Chris Jerdonek | |
| Failures detected when loading tests are ordered before all of the above for quicker feedback. This includes things like test modules that couldn't be found or that couldn't be loaded due to syntax errors. | |||
| 2021-03-26 | Added missing mode="rb" argument to open() call in Client.post() example in ↵ | John | |
| docs. | |||
| 2021-03-19 | Fixed #32556 -- Fixed handling empty string as non-boolean attributes value ↵ | Baptiste Mispelon | |
| by assertHTMLEqual(). | |||
| 2021-03-19 | Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs. | Mariusz Felisiak | |
| 2021-03-19 | Added parallel argument to DiscoverRunner docs. | Mariusz Felisiak | |
| Follow up to cd9fcd4e8073490a52c9e79133ada4661cb7db38. | |||
| 2021-03-19 | Corrected DiscoverRunner.build_suite() signature. | Mariusz Felisiak | |
| Follow up to 9012833af857e081b515ce760685b157638efcef. | |||
| 2021-03-18 | Fixed #32547 -- Corrected notes about validation in HTML assertions docs. | Hasan Ramezani | |
| 2021-03-17 | Fixed typo in docs/topics/testing/advanced.txt. | Jozef | |
| 2021-03-05 | Fixed #32507 -- Added link to assertHTMLEqual() in assertInHTML() docs. | Jacob Walls | |
| 2021-02-26 | Fixed typos in assertQuerysetEqual() docs and 1.6 release notes. | Jacob Walls | |
| 2021-02-24 | Fixed #32446 -- Deprecated SERIALIZE test database setting. | Simon Charette | |
| Whether or not the state of a test database should be serialized can be inferred from the set of databases allowed to be access from discovered TestCase/TransactionTestCase enabling the serialized_rollback feature which makes this setting unnecessary. This should make a significant test suite bootstraping time difference on large projects that didn't explicitly disable test database serialization. | |||
| 2021-02-24 | Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature. | Mariusz Felisiak | |
| Accidentally changed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915. | |||
| 2021-02-12 | Fixed #32438 -- Fixed typo in docs/topics/testing/tools.txt. | David Smith | |
| 2021-01-14 | Removed versionadded/changed annotations for 3.1. | Mariusz Felisiak | |
| 2020-11-06 | Fixed #31235 -- Made assertQuerysetEqual() compare querysets directly. | Hasan Ramezani | |
| This also replaces assertQuerysetEqual() to assertSequenceEqual()/assertCountEqual() where appropriate. Co-authored-by: Peter Inglesby <peter.inglesby@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-11-04 | Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers. | Carlton Gibson | |
| 2020-10-18 | Fixed typo in docs/topics/testing/tools.txt. | Jacob Walls | |
| 2020-09-14 | Fixed #31789 -- Added a new headers interface to HttpResponse. | Tom Carrick | |
| 2020-09-03 | Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper ↵ | Jon Dufresne | |
| argument optional. | |||
| 2020-08-13 | Refs #31811 -- Added optional timing outputs to the test runner. | Ahmad A. Hussein | |
| 2020-07-13 | Fixed #30457 -- Added TestCase.captureOnCommitCallbacks(). | Adam Johnson | |
| 2020-07-10 | Fixed #31509 -- Made DiscoverRunner enable faulthandler by default. | ovkulkarni | |
| 2020-07-10 | Refs #27430 -- Added buffer argument to DiscoverRunner docs. | Mariusz Felisiak | |
| 2020-07-10 | Refs #30676 -- Added pdb argument to DiscoverRunner docs. | Mariusz Felisiak | |
| 2020-07-04 | Fixed #29308 -- Clarified how assertQuerysetEqual()'s transform works. | Jacob Walls | |
| 2020-05-15 | Fixed #31395 -- Made setUpTestData enforce in-memory data isolation. | Simon Charette | |
| Since it's introduction in Django 1.8 setUpTestData has been suffering from a documented but confusing caveat due to its sharing of attributes assigned during its execution with all test instances. By keeping track of class attributes assigned during the setUpTestData phase its possible to ensure only deep copies are provided to test instances on attribute retreival and prevent manual setUp gymnastic to work around the previous lack of in-memory data isolation. Thanks Adam Johnson for the extensive review. | |||
