summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
2023-01-04Refs #34074 -- Used headers argument for RequestFactory and Client in docs ↵David Wobrock
and tests.
2022-11-14Fixed #34074 -- Added headers argument to RequestFactory and Client classes.David Wobrock
2022-11-10Updated documentation and comments for RFC updates.Nick Pope
- 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
2022-11-10Improved readability of string interpolation in frequently used examples in ↵Trey Hunner
docs.
2022-11-10Improved async request factory and client docs.David Wobrock
2022-11-02Fixed #34054 -- Created a new fixtures topic.Filip Lajszczak
Moved material from django-admin document into a new document, and added new material. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2022-10-08Refs #33990 -- Renamed TransactionTestCase.assertQuerysetEqual() to ↵Gregor Gärtner
assertQuerySetEqual(). Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-10-07Refs #33990 -- Renamed SimpleTestCase.assertFormsetError() to ↵Gregor Gärtner
assertFormSetError(). Co-Authored-By: Michael Howitz <mh@gocept.com>
2022-09-29Fixed #33026 -- Mentioned RequestFactory in testing tools docs.Chris Wedgwood
2022-08-31Fixed #33965 -- Improved file-like object example of ImageField in docs.Alex Morega
This uses a valid image.
2022-08-30Refs #30947 -- Changed tuples to lists where appropriate.Alex Morega
2022-08-25Refs #18707 -- Corrected django.test.Client signature in docs.Daniel Hahler
2022-07-29Fixed typo in docs/topics/testing/tools.txt.rharri
2022-06-27Fixed #33422 -- Improved docs about isolating apps.Christopher Adams
2022-06-02Fixed #33757 -- Clarified Client.post() file upload example.Tim Graham
2022-05-31Fixed docs build with sphinxcontrib-spelling 7.5.0+.Mariusz Felisiak
sphinxcontrib-spelling 7.5.0+ includes captions of figures in the set of nodes for which the text is checked.
2022-05-17Removed versionadded/changed annotations for 4.0.Carlton Gibson
2022-04-28Added backticks to code literals in various docs.David
2022-04-06Fixed #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-10Changed some words to use inline markup.David Smith
2022-01-26Adjusted 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-10Corrected signatures of some functions in docs.Mariusz Felisiak
2021-12-28Avoided counting attributes and methods in docs.Mariusz Felisiak
2021-11-26Fixed #33301 -- Clarified the type of arguments required by custom assertions.Baptiste Mispelon
2021-11-08Fixed #33264 -- Made test runner return non-zero error code for unexpected ↵Baptiste Mispelon
successes.
2021-10-21Fixed #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-18Refs #32956 -- Changed docs to treat the acronym HTTP phonetically.David Smith
2021-09-21Fixed broken links and redirects in docs.Mariusz Felisiak
2021-09-20Refs #31235 -- Made assertQuerysetEqual() not call repr() on a queryset when ↵Mariusz Felisiak
compared to string values. Per deprecation timeline.
2021-09-20Removed versionadded/changed annotations for 3.2.Mariusz Felisiak
2021-08-30Fixed #33054 -- Made TestCase.captureOnCommitCallbacks() capture callbacks ↵Eugene Morozov
recursively.
2021-08-24Fixed #32552 -- Added logger argument to DiscoverRunner.Chris Jerdonek
2021-08-17Fixed #32964 -- Corrected 'setup'/'set up' usage in docs.Andrew Northall
2021-08-02Updated BaseDatabaseFeatures link in testing tools docs.Lauri Tirkkonen
2021-07-29Fixed 32956 -- Lowercased spelling of "web" and "web framework" where ↵David Smith
appropriate.
2021-07-27Refs #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-16Fixed #32655 -- Deprecated extra_tests argument for ↵Jacob Walls
DiscoverRunner.build_suite()/run_tests().
2021-07-08Fixed #24522 -- Added a --shuffle option to DiscoverRunner.Chris Jerdonek
2021-06-01Refs #32552 -- Added DiscoverRunner.log() to allow customization.Daniyal
Thanks Carlton Gibson, Chris Jerdonek, and David Smith for reviews.
2021-05-17Refs #32720 -- Updated various links in docs to avoid redirects and use HTTPS.Nick Pope
2021-03-26Fixed #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-26Added missing mode="rb" argument to open() call in Client.post() example in ↵John
docs.
2021-03-19Fixed #32556 -- Fixed handling empty string as non-boolean attributes value ↵Baptiste Mispelon
by assertHTMLEqual().
2021-03-19Refs #25735 -- Added tags/exclude_tags arguments to DiscoverRunner docs.Mariusz Felisiak
2021-03-19Added parallel argument to DiscoverRunner docs.Mariusz Felisiak
Follow up to cd9fcd4e8073490a52c9e79133ada4661cb7db38.
2021-03-19Corrected DiscoverRunner.build_suite() signature.Mariusz Felisiak
Follow up to 9012833af857e081b515ce760685b157638efcef.
2021-03-18Fixed #32547 -- Corrected notes about validation in HTML assertions docs.Hasan Ramezani
2021-03-17Fixed typo in docs/topics/testing/advanced.txt.Jozef
2021-03-05Fixed #32507 -- Added link to assertHTMLEqual() in assertInHTML() docs.Jacob Walls
2021-02-26Fixed typos in assertQuerysetEqual() docs and 1.6 release notes.Jacob Walls