summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
2016-05-14[1.9.x] Refs #26021 -- Used hanging indentation in some doc examples.Tim Graham
Backport of e475e849703d937e158e75e7a6d9cb99090857f6 from master
2016-05-03[1.9.x] Normalized "an SQL" spelling.Ville Skyttä
Backport of 575a9a791e62de7550761970dc6797271d956c57 from master
2016-05-03[1.9.x] Fixed #26567 -- Updated references to obsolete RFC2616.Vasiliy Faronov
Didn't touch comments where it wasn't obvious that the code adhered to the newer standard. Backport of ac77c55bc5fc54cd763a7ae426784650a8cc97c9 from master
2016-04-28[1.9.x] Fixed #26554 -- Updated docs URLs to readthedocs.ioTim Graham
Backport of f945fb24a31737c6625205a8cd90eabdf1c33584 from master
2016-04-27[1.9.x] Fixed typo in docs/topics/testing/tools.txteltronix
Backport of 8ccb8ff453f8c3ba297bd8e108d81d76769bf8d2 from master
2016-04-26[1.9.x] Fixed typo in docs/topics/testing/tools.txteltronix
Backport of 75c5e547b5350b167aa8f30882c83446d86e8f2b from master
2016-03-15[1.9.x] Fixed DiscoverRunner failfast parameter default in docs.Andrew Abraham
Backport of f2d9caa625084b0b96d60153f6b26ba43a1ab835 from master
2016-02-25[1.9.x] Refs #26270 -- Reorganized TestCase docs.Tim Graham
Backport of 7a7e403325427642905a5b3e26931c2b8e92d4b1 from master
2016-02-24[1.9.x] Removed docs of deprecated SimpleTestCase warnings behavior.Tim Graham
Removed in Django 1.7 (4f6be9a0c43050500af598527e1453d27c5c5b85). Backport of 6637cd0ef2fd5f063df82000c18c64c246bb6e1b from master
2016-02-11[1.9.x] Fixed #26111 -- Clarified that fixtures are loaded once per TestCase.Johannes Linke
Backport of 02430ef19d9a7d3663cbc1cf66438e9e86b919d1 from master
2016-02-01[1.9.x] Fixed #26124 -- Added missing code formatting to docs headers.Tim Graham
Backport of a6ef025dfb2a1d1bd23893408eef6d066fb506d9 from master
2016-02-01[1.9.x] Fixed #23868 -- Added support for non-unique django-admin-options in ↵Tim Graham
docs. 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. Backport of e519aab43a419589e92fe284e4ce2f2e034aec6a from master
2016-01-25[1.9.x] Fixed #26132 -- Discouraged use of TransactionTestCase.fixtures.Tim Graham
Backport of b0b45f9a8373f47e96ef6c22d254c984d3b6b3c0 from master
2016-01-22[1.9.x] Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
Backport of bca9faae95db2a92e540fbd08505c134639916fe from master
2015-12-23[1.9.x] Fixed #25948 -- Added guidelines for ↵Tim Graham
SimpleTestCase.assertRaisesMessage() usage. Backport of 77f50c9cfc8b33bf86394816cde183e656ba28cd from master
2015-12-11[1.9.x] Refs #25899 -- Improved visibility of TEST database settings in ↵Tim Graham
testing docs. Backport of 738bda8a6feea95d07b73246365e75b3d25e3466 from master
2015-12-07[1.9.x] Fixed #25860 -- Documented a transaction leak possiblity in TestCase.Tim Graham
Thanks Jonas Haag for report and review. Backport of a5619f7ed3bc2ca07b428fa0abfaaff088378f48 from master
2015-12-01[1.9.x] Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
Backport of 7aabd6238028f4bb78d0687bbccc97bcf634e28b from master
2015-11-16[1.9.x] Fixed #25755 -- Unified spelling of "website".Agnieszka Lasyk
Backport of 1f8dad69158a96d0649d321ce08ecc9c0465f962 from master
2015-11-07[1.9.x] Fixed #25290 -- Warned against modifying objects created in ↵Tim Graham
setUpTestData() in tests. Backport of 81006b9657534a21c3eadb2bc4a87c46db54c099 from master
2015-10-30[1.9.x] Added class-based view example to RequestFactory example.bee_keeper
Backport of a17216646adaaa909fe52a4e974b56b4f094fc72 from master
2015-10-28[1.9.x] Made LiveServerTestCase example use StaticLiveServerTestCase.Tim Graham
Backport of 6b5ae92927cb69e8709ab2bb05f6721a7cd37a3c from master
2015-10-23[1.9.x] Clarified that the test client response content attribute is bytes.薛丞宏
Backport of 484edc81c1ebd195c333f3ea8d3f9ca882a17837 from master
2015-10-22[1.9.x] Refs #24622 -- Documented alternatives to some test response ↵Benjamin Wohlwend
attributes when using alternative template engines. Backport of 2b9eed41fa26537d1af4f818c6e4296ce3305b01 from master
2015-09-25[1.9.x] Fixed #25451 -- Added advice about organizing tests.Tim Graham
Backport of 53e89ce2e71411ff9d1c3fd6f2b10d052a4aeace from master
2015-09-09Allowed a port range for the liveserver by default.Aymeric Augustin
This is required for running tests in parallel.
2015-09-05Updated references to the TEST_* database settings.Aymeric Augustin
They were removed in Django 1.9. I could leave the reference to TEST_DEPENDENCIES in the 1.2.4 release notes because the link points to the right location and the name was accurate at the time.
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-08-19Fixed style issues in testing docsMarkus Holtermann
2015-08-18Used consistent capitalization and hyphenation of "class-based views" in docs.Anton Strogonoff
2015-08-08Updated Wikipedia links to use httpsClaude Paroz
2015-07-31Clarified assertRaisesMessage() behavior with respect to the message.Tim Graham
2015-07-30Fixed #25190 -- Deprecated callable_obj parameter to assertRaisesMessage().Tim Graham
Thanks Aymeric Augustin for review.
2015-07-27Fixed #25159 -- Removed brackets from class/function/method signatures in docs.Tim Graham
Thanks hellbeast for the initial patch.
2015-07-01Fixed #20916 -- Added Client.force_login() to bypass authentication.Jon Dufresne
2015-06-16Refs #24987 -- Documented that Client.login() rejects inactive users.Tim Graham
2015-06-12Fixed #24965 -- Made LiveServerTestCase.live_server_url accessible from classMoritz Sichert
2015-05-25Fixed #24773 -- Added a json() method on test client responses.Andy McKay
2015-05-20Fixed #24652 -- Disallowed query execution in SimpleTestCase subclasses.Simon Charette
Thanks to Tim and Anssi for the review.
2015-05-18Added docs for assertRaisesMessage as context manager.Tim Graham
2015-05-09Fixed typo in docs/topics/testing/tools.txtIan Foote
2015-04-25Fixed a typo and formatting consistency in testing tools docsAdam Zapletal
I changed "appears" to "appear" and emphasized the word "not" to match the rest of the document.
2015-03-18Fixed #23960 -- Removed http.fix_location_headerClaude Paroz
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-02-22Fixed #24358 -- Corrected code-block directives for console sessions.Sean Wang
2015-02-17Added an import to docs/topics/testing/advanced.txt example.Tim Graham
2015-02-03Fixed #24149 -- Normalized tuple settings to lists.darkryder
2015-02-01Removed versionadded/changed notes for 1.7.Tim Graham
2015-01-18Removed support for syncing apps without migrations per deprecation timeline.Tim Graham
Kept support for creating models without migrations when running tests (especially for Django's test suite).
2015-01-17Removed support for custom SQL per deprecation timeline.Tim Graham
2015-01-17Removed support for initial_data fixtures per deprecation timeline.Tim Graham