summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
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
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