summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
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
2015-01-17Removed django.utils.unittest per deprecation timeline.Tim Graham
2015-01-16Fixed a typo in the test responses docs.Rick Hutcheson
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
2014-06-09Tweaked order of create_test_db arguments for backwards compatibility.Tim Graham
Since `serialize` was backported to 1.7, it should appear before `keepdb`.
2014-06-08Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
2014-06-05Fixed #20550 -- Added keepdb argument to destroy_test_dbGreg Chapple
2014-05-28Fixed #20550 -- Added ability to preserve test db between runsGreg Chapple
2014-05-25Fixed too short title underline in docs.Tim Graham
2014-05-22Fixed #22667 -- Replaced leader/follower terminology with primary/replicaFlavio Curella
2014-05-20replaced occurrences of master/slave terminology with leader/followerFlavio Curella
2014-04-28Revert "Fixed #15179 -- middlewares not applied for test client login()"Tim Graham
This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755. See the ticket for concerns with this implementation; it will be revisited.
2014-04-28Fixed #22254 -- Noted the requirement of calling django.setup() when runningTim Graham
Thanks Peter Landry for the report.
2014-04-26Updated doc links to point to Python 3 documentationClaude Paroz
2014-04-23Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand.
2014-04-19Fixed #22417 -- Added additional documentation for refs #16969.Tim Graham
Thanks Jon Foster for the report.
2014-04-18Added missing versionadded annotation and tweaked release note; refs #22465.Tim Graham