summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
2022-07-29[4.1.x] Fixed typo in docs/topics/testing/tools.txt.rharri
Backport of 6654289f5b350dfca3dc4f6abab777459b906756 from main
2022-06-27[4.1.x] Fixed #33422 -- Improved docs about isolating apps.Christopher Adams
Backport of 90d2f9f41671ef01c8e8e7b5648f95c9bf512aae from main
2022-06-27[4.1.x] Fixed 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. Backport of ac90529cc58507d9a07610809a795ec5fc3cbf8c from main
2022-06-02[4.1.x] Fixed #33757 -- Clarified Client.post() file upload example.Tim Graham
Backport of 61badf1d58e79b84874afa6a1e00b79f20e786d1 from main
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
2021-02-24Fixed #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-24Refs #31811 -- Corrected DiscoverRunner.setup_databases() signature.Mariusz Felisiak
Accidentally changed in 61a0ba43cfd4ff66f51a9d73dcd8ed6f6a6d9915.
2021-02-12Fixed #32438 -- Fixed typo in docs/topics/testing/tools.txt.David Smith
2021-01-14Removed versionadded/changed annotations for 3.1.Mariusz Felisiak
2020-11-06Fixed #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-04Fixed #32159 -- Ensured AsyncRequestFactory correctly sets headers.Carlton Gibson
2020-10-18Fixed typo in docs/topics/testing/tools.txt.Jacob Walls
2020-09-14Fixed #31789 -- Added a new headers interface to HttpResponse.Tom Carrick
2020-09-03Fixed #31979 -- Made django.test.utils.setup_databases()'s time_keeper ↵Jon Dufresne
argument optional.
2020-08-13Refs #31811 -- Added optional timing outputs to the test runner.Ahmad A. Hussein
2020-07-13Fixed #30457 -- Added TestCase.captureOnCommitCallbacks().Adam Johnson
2020-07-10Fixed #31509 -- Made DiscoverRunner enable faulthandler by default.ovkulkarni
2020-07-10Refs #27430 -- Added buffer argument to DiscoverRunner docs.Mariusz Felisiak