summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
2016-07-01[1.10.x] Added parallel test running to "Speeding up the tests" docs.Harry Moreno
Backport of 30c65ee8187c7a87d2fc83c5b8966b1ea5e5316b from master
2016-06-16[1.10.x] Fixed #26747 -- Used more specific assertions in the Django test suite.Jon Dufresne
Backport of 4f336f66523001b009ab038b10848508fd208b3b from master
2016-06-15[1.10.x] Fixed broken links in docs and comments.Ville Skyttä
Backport of 96f97691ad5e1483263cea3bb4e4021b4c8dcc41 from master
2016-05-17Fixed #26601 -- Improved middleware per DEP 0005.Florian Apolloner
Thanks Tim Graham for polishing the patch, updating the tests, and writing documentation. Thanks Carl Meyer for shepherding the DEP.
2016-05-14Refs #26021 -- Used hanging indentation in some doc examples.Tim Graham
2016-05-03Normalized "an SQL" spelling.Ville Skyttä
2016-05-03Fixed #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.
2016-04-28Fixed #26554 -- Updated docs URLs to readthedocs.ioTim Graham
2016-04-27Fixed typo in docs/topics/testing/tools.txteltronix
2016-04-26Fixed typo in docs/topics/testing/tools.txteltronix
2016-03-23Fixed #24987 -- Allowed inactive users to login with the test client.Alexander Gaevsky
2016-03-15Fixed DiscoverRunner failfast parameter default in docs.Andrew Abraham
2016-02-25Refs #26270 -- Reorganized TestCase docs.Tim Graham
2016-02-24Removed docs of deprecated SimpleTestCase warnings behavior.Tim Graham
Removed in Django 1.7 (4f6be9a0c43050500af598527e1453d27c5c5b85).
2016-02-19Refs #25735 -- Made @tag decorator importable from django.test.Tim Graham
2016-02-17Fixed #25735 -- Added support for test tags to DiscoverRunner.Jakub Paczkowski
Thanks Carl Meyer, Claude Paroz, and Simon Charette for review.
2016-02-13Fixed #11665 -- Made TestCase check deferrable constraints after each test.Jon Dufresne
2016-02-11Fixed #26111 -- Clarified that fixtures are loaded once per TestCase.Johannes Linke
2016-02-01Fixed #26124 -- Added missing code formatting to docs headers.rowanv
2016-01-25Fixed #26132 -- Discouraged use of TransactionTestCase.fixtures.Tim Graham
2016-01-22Fixed #26020 -- Normalized header stylings in docs.Elif T. Kus
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.
2016-01-11Fixed #26048 -- Made admin selenium tests use implicitly_wait()Tim Graham
2015-12-31Fixed #26013 -- Moved django.core.urlresolvers to django.urls.Marten Kenbeek
Thanks to Tim Graham for the review.
2015-12-23Fixed #25948 -- Added guidelines for SimpleTestCase.assertRaisesMessage() usage.Tim Graham
2015-12-11Refs #25899 -- Improved visibility of TEST database settings in testing docs.Tim Graham
2015-12-07Fixed #25860 -- Documented a transaction leak possiblity in TestCase.Tim Graham
Thanks Jonas Haag for report and review.
2015-12-01Fixed #25778 -- Updated docs links to use https when available.Jon Dufresne
2015-11-16Fixed #25755 -- Unified spelling of "website".Agnieszka Lasyk
2015-11-07Fixed #25290 -- Warned against modifying objects created in setUpTestData() ↵Tim Graham
in tests.
2015-10-30Added class-based view example to RequestFactory example.bee_keeper
2015-10-28Made LiveServerTestCase example use StaticLiveServerTestCase.Tim Graham
2015-10-23Clarified that the test client response content attribute is bytes.薛丞宏
2015-10-22Refs #24622 -- Documented alternatives to some test response attributes when ↵Benjamin Wohlwend
using alternative template engines.
2015-09-25Fixed #25451 -- Added advice about organizing tests.Tim Graham
2015-09-23Removed versionadded/changed annotations for 1.8.Tim Graham
2015-09-23Refs #19973 -- Removed optparse support in management commands per ↵Tim Graham
deprecation timeline.
2015-09-23Refs #21977 -- Removed SimpleTestCase.urls per deprecation timeline.Tim Graham
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