summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
2015-10-30[1.8.x] Added class-based view example to RequestFactory example.bee_keeper
Backport of a17216646adaaa909fe52a4e974b56b4f094fc72 from master
2015-10-28[1.8.x] Made LiveServerTestCase example use StaticLiveServerTestCase.Tim Graham
Backport of 6b5ae92927cb69e8709ab2bb05f6721a7cd37a3c from master
2015-10-23[1.8.x] Clarified that the test client response content attribute is bytes.薛丞宏
Backport of 484edc81c1ebd195c333f3ea8d3f9ca882a17837 from master
2015-10-22[1.8.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.8.x] Fixed #25451 -- Added advice about organizing tests.Tim Graham
Backport of 53e89ce2e71411ff9d1c3fd6f2b10d052a4aeace from master
2015-09-24[1.8.x] Removed a prominent note about django.utils.unittest deprecation.Tim Graham
It doesn't seem this would be relevant to most readers.
2015-09-05[1.8.x] Updated 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. Backport of 6d1110f from master
2015-08-19[1.8.x] Fixed style issues in testing docsMarkus Holtermann
Backport of f33607ce0b744794f6ceafa1dddffbcb32e90978 from master
2015-08-18[1.8.x] Used consistent capitalization and hyphenation of "class-based ↵Anton Strogonoff
views" in docs. Backport of 20787b5c298d97dda10286a942a788423fed483f from master
2015-08-08[1.8.x] Updated Wikipedia links to use httpsClaude Paroz
Backport of 64982cc2fb from master.
2015-07-31[1.8.x] Clarified assertRaisesMessage() behavior with respect to the message.Tim Graham
Backport of 6bb4f07372fe748a701ad38e5c0d1182dab9e2c8 from master
2015-07-27[1.8.x] Fixed #25159 -- Removed brackets from class/function/method ↵Tim Graham
signatures in docs. Thanks hellbeast for the initial patch. Backport of 87d55081ea398c65b2503d22ed3907a9175ec729 from master
2015-06-16[1.8.x] Refs #24987 -- Documented that Client.login() rejects inactive users.Tim Graham
Backport of fbc618c13cc72b9c2f4c8dfd5ef8b8ab5a5d7caa from master
2015-05-18[1.8.x] Added docs for assertRaisesMessage as context manager.Tim Graham
Backport of a0175724b086127a4e13612042961d3ba88d6bd9 from master
2015-05-09[1.8.x] Fixed typo in docs/topics/testing/tools.txtIan Foote
Backport of c21b832c1260c6ad4bd8527338a65f6d8930feaf from master
2015-04-25[1.8.x] Fixed 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. Backport of 0cf7477ed839517e203e4b5aad414707cb401d30 from master
2015-02-22[1.8.x] Fixed #24358 -- Corrected code-block directives for console sessions.Sean Wang
Backport of eba6dff581aa8bd6a1c08456e83e68ad09ae4ec3 from master
2015-02-17[1.8.x] Added an import to docs/topics/testing/advanced.txt example.Tim Graham
Backport of 32b67b3fd1d252566f60cf38fe1459bb83de2ce2 from master
2015-02-01[1.8.x] Simplified a versionchanged notes for LiveServerTestCase.Tim Graham
2015-01-16[1.8.x] Fixed a typo in the test responses docs.Rick Hutcheson
Backport of 996292d6498d25c6b3e84435e82edeff5aaa0257 from master
2015-01-12Fixed #24118 -- Added --debug-sql option for tests.Marc Tamlyn
Added a --debug-sql option for tests and runtests.py which outputs the SQL logger for failing tests. When combined with --verbosity=2, it also outputs the SQL for passing tests. Thanks to Berker, Tim, Markus, Shai, Josh and Anssi for review and discussion.
2014-12-30Fixed #12118 -- Added shared cache support to SQLite in-memory testing.Andriy Sokolovskiy
2014-12-28Deprecated TEMPLATE_LOADERS.Aymeric Augustin
2014-12-27Fixed #24056 -- Fixed syntax highlighting in topics/testing/tools.txt.Tim Graham
2014-12-04Fixed #23911 -- Added support for buffer file uploads in the test clientThomas Tanner
2014-12-03Fixed #20392 -- Added TestCase.setUpTestData()Thomas Chaumeny
Each TestCase is also now wrapped in a class-wide transaction.
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-11-24Updated testing documentation following 498ae3a36069e2dThomas Chaumeny
- commit/rollback are no longer replaced by nop - the warning about not using TestCase when testing transactional behavior belongs to TestCase section, not TransactionTestCase
2014-11-24Fixed #23543 -- Added docs on testing management command output.Danilo Bargen
2014-11-21Fixed #23778 -- Added a doc section on using the Django runner for reusable ↵Stanislas Guerra
apps.
2014-11-04Added missing docs to DiscoverRunner for keepdb option; refs #20550.Tim Graham
2014-11-03Fixed #21281 -- Made override_settings act at class level when used as a ↵Thomas Chaumeny
TestCase decorator.
2014-11-01Fixed #23744 -- Fixed typo in selenium testing example.Tim Graham
Thanks djbug for the report.
2014-10-31Added a warning about direct settings manipulation in tests.Tim Graham
Thanks Thomas Chaumeny for the initial patch.
2014-10-28Fixed #23606 -- Implemented Client and RequestFactory trace() methods.Rigel Di Scala
Thanks KevinEtienne for the suggestion.
2014-10-24Fixed versionchanged indentation in topics/testing/advanced.txt.Berker Peksag
2014-10-20Fixed #20609 -- Added instructions for using AnonymousUser with RequestFactory.Tim Graham
2014-10-14Clarified documentation relating to usage of serialized_rollback for certain ↵Greg Chapple
classes
2014-10-05Updated assertQuerysetEqual documentation following ↵Thomas Chaumeny
311b3ad9db94c3e04f929c2622be4f10d759f45e
2014-09-24Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham
Thanks gkoller for the report.
2014-09-24Added SuspiciousOperation to list of caught exceptions in testing docs.Thomas Grainger
2014-08-28Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCaseClaude Paroz
Refs #20739. Thanks Raphaël Hertzog for the report and the initial patch.
2014-08-26Allowed skipIf/UnlessDBFeature to accept several feature stringsClaude Paroz
2014-08-19Removed unnecessary code-block directives.areski
2014-08-01Fixed typo in docs/topics/testing/tools.txt.Tim Graham
2014-07-28Fixed #22491 -- documented how select_for_update() should be tested.Moayad Mardini
Thanks Andreas Pelme for the report.
2014-06-30Fixed #19489 -- Documented host parameter of assertRedirects().Tim Graham
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora for the draft patch.
2014-06-14Converted test management command to argparseClaude Paroz
Keeping backwards compatibility with test_runner.option_list is tricky and would imply transforming an optparse.Option to an argparse.Action. I choose to introduce a backwards incompatible change because it only affects testing, not runtime behavior.
2014-06-13Fixed #16087 -- Added ResolverMatch instance to test client response.Greg Chapple
Thanks mrmachine for the suggestion.
2014-06-09Doc edits for refs #22487.Tim Graham