summaryrefslogtreecommitdiff
path: root/docs/topics/testing/advanced.txt
AgeCommit message (Collapse)Author
2025-08-28Fixed #36570 -- Removed unnecessary :py domain from documentation roles.SaJH
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-25Refs #36485 -- Removed double spaces after periods in sentences.Natalia
2025-08-25Refs #36485 -- Removed unnecessary parentheses in :meth: and :func: roles in ↵David Smith
docs.
2025-04-15Fixed #36311 -- Unified spelling of "hardcode" and its variants in docs.Ahmed Nassar
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
2025-02-16Refs #35967 -- Deprecated BaseDatabaseCreation.create_test_db(serialize).Simon Charette
Given there are no longer any internal usages of serialize=True and it poses a risk to non-test databases integrity it seems appropriate to deprecate it.
2025-02-16Refs #35967 -- Doc'd DatabaseCreation.serialize_db_to_string() method.Simon Charette
2025-01-20Fixed #36005 -- Dropped support for Python 3.10 and 3.11.Mariusz Felisiak
2025-01-15Removed versionadded/changed annotations for 5.1.Sarah Boyce
This also removes remaining versionadded/changed annotations for older versions.
2024-05-22Removed versionadded/changed annotations for 5.0.Natalia
This also removes remaining versionadded/changed annotations for older versions.
2023-11-23Fixed #14611 -- Added query_params argument to RequestFactory and Client ↵Tom Carrick
classes.
2023-10-02Fixed #32602 -- Clarified wording of TestCase class.faishalmanzar
2023-09-18Removed versionadded/changed annotations for 4.2.Mariusz Felisiak
This also removes remaining versionadded/changed annotations for older versions.
2023-08-31Fixed #34210 -- Added unittest's durations option to the test runner.David Smith
2023-04-17Used extlinks for PyPI links.Tim Graham
Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com>
2023-03-01Fixed #34140 -- Reformatted code blocks in docs with blacken-docs.django-bot
2023-02-10Refs #34140 -- Applied rst code-block to non-Python examples.Carlton Gibson
Thanks to J.V. Zammit, Paolo Melchiorre, and Mariusz Felisiak for reviews.
2023-01-17Refs #32655 -- Removed extra_tests argument for ↵Mariusz Felisiak
DiscoverRunner.build_suite()/run_tests(). Per deprecation timeline.
2023-01-17Refs #32446 -- Removed SERIALIZE test database setting per deprecation timeline.Mariusz Felisiak
2023-01-16Fixed #23718 -- Doc'd that test mirrors require TransactionTestCase.sarahboyce
Co-authored-by: Christian Bundy <me@christianbundy.com>
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-10Improved async request factory and client docs.David Wobrock
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
2021-09-20Removed versionadded/changed annotations for 3.2.Mariusz Felisiak
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-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-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-17Fixed typo in docs/topics/testing/advanced.txt.Jozef
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-01-14Removed versionadded/changed annotations for 3.1.Mariusz Felisiak
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-10Fixed #31509 -- Made DiscoverRunner enable faulthandler by default.ovkulkarni
2020-07-10Refs #27430 -- Added buffer argument to DiscoverRunner docs.Mariusz Felisiak
2020-07-10Refs #30676 -- Added pdb argument to DiscoverRunner docs.Mariusz Felisiak
2020-03-18Fixed #31224 -- Added support for asynchronous views and middleware.Andrew Godwin
This implements support for asynchronous views, asynchronous tests, asynchronous middleware, and an asynchronous test client.
2020-02-07Refs #31055 -- Made DiscoverRunner skip running system checks on unused test ↵Simon Charette
databases.
2019-12-04Fixed #20456 -- Added example of directly testing CBVs in topics docs.Felipe Lee
2019-10-08Fixed #28790 -- Doc'd how to avoid running certain test classes in parallel.Caio Ariede
2019-09-10Removed versionadded/changed annotations for 2.2.Mariusz Felisiak
2019-09-06Fixed #30573 -- Rephrased documentation to avoid words that minimise the ↵Tobias Kunze
involved difficulty. This patch does not remove all occurrences of the words in question. Rather, I went through all of the occurrences of the words listed below, and judged if they a) suggested the reader had some kind of knowledge/experience, and b) if they added anything of value (including tone of voice, etc). I left most of the words alone. I looked at the following words: - simply/simple - easy/easier/easiest - obvious - just - merely - straightforward - ridiculous Thanks to Carlton Gibson for guidance on how to approach this issue, and to Tim Bell for providing the idea. But the enormous lion's share of thanks go to Adam Johnson for his patient and helpful review.
2019-04-30Fixed #30245 -- Added -k option to DiscoverRunner.François Freitag