summaryrefslogtreecommitdiff
path: root/docs/topics/testing/overview.txt
AgeCommit message (Collapse)Author
2025-09-17Removed versionadded/changed annotations for 5.2.Jacob Walls
2025-08-28Fixed #36570 -- Removed unnecessary :py domain from documentation roles.SaJH
Signed-off-by: SaJH <wogur981208@gmail.com>
2025-08-25Refs #36485 -- Rewrapped docs to 79 columns line length.David Smith
Lines in the docs files were manually adjusted to conform to the 79 columns limit per line (plus newline), improving readability and consistency across the content.
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.
2024-09-17Fixed #35660 -- Made serialized_rollback and fixture data available in ↵Jacob Walls
TransactionTestCase.setUpClass().
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-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-17Removed versionadded/changed annotations for 4.1.Mariusz Felisiak
2023-01-10Fixed #34110 -- Added in-memory file storage.Francesco Panico
Thanks Paolo Melchiorre, Carlton Gibson, and Mariusz Felisiak for reviews.
2022-05-17Removed versionadded/changed annotations for 4.0.Carlton Gibson
2022-03-10Changed some words to use inline markup.David Smith
2021-11-08Fixed #33264 -- Made test runner return non-zero error code for unexpected ↵Baptiste Mispelon
successes.
2021-07-08Fixed #24522 -- Added a --shuffle option to DiscoverRunner.Chris Jerdonek
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.
2019-11-26Used :ticket: role in all tickets links.Sergey Fedoseev
2019-03-05Doc'd the use of --noinput for test database handling.Samuel Gaist
2019-02-13Fixed #30184 -- Removed ellipsis characters from shell output strings.Dan Davis
Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters.
2018-08-22Refs #29654 -- Replaced three dots with ellipsis character in output strings.Claude Paroz
2018-03-28Replaced 'python -Wall' with 'python -Wa'.Daniel Chimeno
2017-10-03Fixed #28584 -- Dropped support for SQLite < 3.7.15.Tim Graham
2017-08-22Added "test --keepdb" to testing speedup docs.Harry Moreno
2017-01-18Refs #23919 -- Removed Python 2 notes in docs.Tim Graham
2016-08-31Fixed typo in docs/topics/testing/overview.txtMike Fiedler
2016-07-01Added parallel test running to "Speeding up the tests" docs.Harry Moreno
2016-06-16Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
2016-05-20Removed versionadded/changed annotations for 1.9.Tim Graham
2016-05-03Normalized "an SQL" spelling.Ville Skyttä
2016-01-14Fixed #23868 -- Added support for non-unique django-admin-options in docs.Tim Graham
Also documented missing short command line options to fix #24134. This bumps the minimum sphinx version required to build the docs to 1.3.4. Thanks Simon Charette for review.
2015-12-11Refs #25899 -- Improved visibility of TEST database settings in testing docs.Tim Graham
2015-09-25Fixed #25451 -- Added advice about organizing tests.Tim Graham
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-08-24Fixed #23727 -- Inhibited the post_migrate signal when using ↵Tommy Beadle
serialized_rollback. When using a TransactionTestCase with serialized_rollback=True, after creating the database and running its migrations (along with emitting the post_migrate signal), the contents of the database are serialized to _test_serialized_contents. After the first test case, _fixture_teardown() would flush the tables but then the post_migrate signal would be emitted and new rows (with new PKs) would be created in the django_content_type table. Then in any subsequent test cases in a suite, _fixture_setup() attempts to deserialize the content of _test_serialized_contents, but these rows are identical to the rows already in the database except for their PKs. This causes an IntegrityError due to the unique constraint in the django_content_type table. This change made it so that in the above scenario the post_migrate signal is not emitted after flushing the tables, since it will be repopulated during fixture_setup().
2015-07-01Fixed #20916 -- Added Client.force_login() to bypass authentication.Jon Dufresne
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2015-01-17Removed support for initial_data fixtures per deprecation timeline.Tim Graham
2015-01-17Removed django.utils.unittest per deprecation timeline.Tim Graham
2014-12-30Fixed #12118 -- Added shared cache support to SQLite in-memory testing.Andriy Sokolovskiy
2014-11-24Fixed #23742 -- Added an option to reverse tests order.wrwrwr
This is useful for debugging side effects affecting tests that are usually executed before a given test. Full suite and pair tests sort cases more or less deterministically, thus some test cross-dependencies are easier to reveal by reversing the order. Thanks Preston Timmons for the review.
2014-10-14Clarified documentation relating to usage of serialized_rollback for certain ↵Greg Chapple
classes
2014-06-09Doc edits for refs #22487.Tim Graham
2014-06-08Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
2014-04-19Fixed #22417 -- Added additional documentation for refs #16969.Tim Graham
Thanks Jon Foster for the report.
2014-04-12Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase onesClaude Paroz
Thanks aptiko for the reporti and Tim Graham for the review.
2014-03-24Removed versionadded/changed annotations for 1.6.Tim Graham
2014-03-09Corrected a few missed references to old test settingsShai Berger