summaryrefslogtreecommitdiff
path: root/docs/topics/testing
Commit message (Collapse)AuthorAgeFilesLines
* Used extlinks for PyPI links.Tim Graham2023-04-172-5/+2
| | | | Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot2023-03-013-161/+191
|
* Refs #34140 -- Made minor edits to rst code-blocks.Mariusz Felisiak2023-03-011-1/+3
|
* Refs #34140 -- Corrected rst code-block and various formatting issues in docs.Joseph Victor Zammit2023-02-281-1/+3
|
* Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson2023-02-103-31/+87
| | | | | Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
* Fixed #34180 -- Added note about resetting language in test tear-downs.Durval Carvalho2023-01-311-0/+8
| | | | Co-authored-by: Faris Naimi <farisfaris66@gmail.com>
* Refs #33348 -- Removed support for passing response object and form/formset ↵Mariusz Felisiak2023-01-171-12/+0
| | | | | | name to SimpleTestCase.assertFormError()/assertFormSetError(). Per deprecation timeline.
* Refs #32655 -- Removed extra_tests argument for ↵Mariusz Felisiak2023-01-171-12/+0
| | | | | | DiscoverRunner.build_suite()/run_tests(). Per deprecation timeline.
* Refs #32446 -- Removed SERIALIZE test database setting per deprecation timeline.Mariusz Felisiak2023-01-171-4/+0
|
* Removed versionadded/changed annotations for 4.1.Mariusz Felisiak2023-01-172-17/+0
|
* Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.sarahboyce2023-01-161-1/+3
| | | | Co-authored-by: Christian Bundy <me@christianbundy.com>
* Refs #26029 -- Deprecated DEFAULT_FILE_STORAGE and STATICFILES_STORAGE settings.Jarosław Wygoda2023-01-121-10/+9
|
* Fixed #26029 -- Allowed configuring custom file storage backends.Jarosław Wygoda2023-01-121-9/+10
|
* Fixed #34110 -- Added in-memory file storage.Francesco Panico2023-01-101-0/+9
| | | | | Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for reviews.
* Refs #34074 -- Used headers argument for RequestFactory and Client in docs ↵David Wobrock2023-01-042-2/+5
| | | | and tests.
* Fixed #34074 -- Added headers argument to RequestFactory and Client classes.David Wobrock2022-11-142-38/+97
|
* Updated documentation and comments for RFC updates.Nick Pope2022-11-101-1/+1
| | | | | | | | | | | | | | | - Updated references to RFC 1123 to RFC 5322 - Only partial as RFC 5322 sort of sub-references RFC 1123. - Updated references to RFC 2388 to RFC 7578 - Except RFC 2388 Section 5.3 which has no equivalent. - Updated references to RFC 2396 to RFC 3986 - Updated references to RFC 2616 to RFC 9110 - Updated references to RFC 3066 to RFC 5646 - Updated references to RFC 7230 to RFC 9112 - Updated references to RFC 7231 to RFC 9110 - Updated references to RFC 7232 to RFC 9110 - Updated references to RFC 7234 to RFC 9111 - Tidied up style of text when referring to RFC documents
* Improved readability of string interpolation in frequently used examples in ↵Trey Hunner2022-11-101-1/+1
| | | | docs.
* Improved async request factory and client docs.David Wobrock2022-11-102-1/+10
|
* Fixed #34054 -- Created a new fixtures topic.Filip Lajszczak2022-11-021-3/+3
| | | | | | | Moved material from django-admin document into a new document, and added new material. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
* Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner2022-10-081-2/+7
| | | | | | assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
* Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to ↵Gregor Gärtner2022-10-071-5/+10
| | | | | | assertFormSetError(). Co-Authored-By: Michael Howitz <mh@gocept.com>
* Fixed #33026 -- Mentioned RequestFactory in testing tools docs.Chris Wedgwood2022-09-291-1/+4
|
* Fixed #33965 -- Improved file-like object example of ImageField in docs.Alex Morega2022-08-311-2/+5
| | | | This uses a valid image.
* Refs #30947 -- Changed tuples to lists where appropriate.Alex Morega2022-08-301-1/+1
|
* Refs #18707 -- Corrected django.test.Client signature in docs.Daniel Hahler2022-08-251-4/+4
|
* Fixed typo in docs/topics/testing/tools.txt.rharri2022-07-291-1/+2
|
* Fixed #33422 -- Improved docs about isolating apps.Christopher Adams2022-06-271-0/+63
|
* Fixed #33757 -- Clarified Client.post() file upload example.Tim Graham2022-06-021-4/+3
|
* Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak2022-05-311-4/+4
| | | | | sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked.
* Removed versionadded/changed annotations for 4.0.Carlton Gibson2022-05-173-26/+0
|
* Added backticks to code literals in various docs.David2022-04-281-1/+1
|
* Fixed #33348 -- Changed ↵Baptiste Mispelon2022-04-061-27/+45
| | | | | | | 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.
* Changed some words to use inline markup.David Smith2022-03-101-3/+3
|
* Adjusted CBV resolver_match example in testing tools docs.Carlton Gibson2022-01-261-4/+4
| | | | The view_class is available on the view callback, allowing that to be checked, rather than the __name__.
* Corrected signatures of some functions in docs.Mariusz Felisiak2022-01-101-2/+2
|
* Avoided counting attributes and methods in docs.Mariusz Felisiak2021-12-281-2/+2
|
* Fixed #33301 -- Clarified the type of arguments required by custom assertions.Baptiste Mispelon2021-11-261-12/+24
|
* Fixed #33264 -- Made test runner return non-zero error code for unexpected ↵Baptiste Mispelon2021-11-081-1/+6
| | | | successes.
* Fixed #33211 -- Updated tests for Selenium 4.0.0.Carlton Gibson2021-10-211-5/+6
| | | | | Replaced deprecated `find_element[s]_by_*()` usages, in favour of `find_element[s]()` with an explicit `By`.
* Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.David Smith2021-10-181-1/+1
|
* Fixed broken links and redirects in docs.Mariusz Felisiak2021-09-211-1/+1
|
* Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when ↵Mariusz Felisiak2021-09-201-7/+0
| | | | | | compared to string values. Per deprecation timeline.
* Removed versionadded/changed annotations for 3.2.Mariusz Felisiak2021-09-202-26/+3
|
* Fixed #33054 -- Made TestCase.captureOnCommitCallbacks() capture callbacks ↵Eugene Morozov2021-08-301-0/+5
| | | | recursively.
* Fixed #32552 -- Added logger argument to DiscoverRunner.Chris Jerdonek2021-08-241-11/+18
|
* Fixed #32964 -- Corrected 'setup'/'set up' usage in docs.Andrew Northall2021-08-171-1/+1
|
* Updated BaseDatabaseFeatures link in testing tools docs.Lauri Tirkkonen2021-08-021-3/+4
|
* Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith2021-07-292-11/+11
| | | | appropriate.
* Refs #32956 -- Changed "afterwards" to "afterward" in docs and comments.David Smith2021-07-271-1/+1
| | | | | | 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.