summaryrefslogtreecommitdiff
path: root/docs/topics/testing
AgeCommit message (Collapse)Author
2014-12-27[1.7.x] Fixed #24056 -- Fixed syntax highlighting in topics/testing/tools.txt.Tim Graham
Backport of 3d0c3a0482496fc1914a40ec3c3eb70e67f0d643 from master
2014-11-24[1.7.x] Fixed #23543 -- Added docs on testing management command output.Danilo Bargen
Backport of cdee8659763ee7044c1507bcd2202581b1744f0b from master
2014-11-21[1.7.x] Fixed #23778 -- Added a doc section on using the Django runner for ↵Stanislas Guerra
reusable apps. Backport of 06726965c3e53e9a6b87e1532951a93d5f94f426 from master.
2014-11-01[1.7.x] Fixed #23744 -- Fixed typo in selenium testing example.Tim Graham
Thanks djbug for the report. Backport of 6d0547c1ad from master
2014-10-31[1.7.x] Added a warning about direct settings manipulation in tests.Tim Graham
Thanks Thomas Chaumeny for the initial patch. Backport of 3f651b3e88 from master
2014-10-24[1.7.x] Fixed versionchanged indentation in topics/testing/advanced.txt.Berker Peksag
Backport of 1387c80643 from master
2014-10-20[1.7.x] Fixed #20609 -- Added instructions for using AnonymousUser with ↵Tim Graham
RequestFactory. Backport of a39df37049 from master
2014-09-24[1.7.x] Fixed #23421 -- Corrected TEST SERIALIZE setting.Tim Graham
Thanks gkoller for the report and Markus Holtermann for review.
2014-09-24[1.7.x] Added SuspiciousOperation to list of caught exceptions in testing docs.Thomas Grainger
Backport of 21683011d5 from master
2014-08-28[1.7.x] Fixed #23374 -- Renamed StaticLiveServerCase to StaticLiveServerTestCaseClaude Paroz
Refs #20739. Thanks Raphaël Hertzog for the report and the initial patch. Backport of 3a44e2000 from master.
2014-08-01[1.7.x] Fixed typo in docs/topics/testing/tools.txt.Tim Graham
Backport of 7ce4ef58c9 from master
2014-07-28[1.7.x] Fixed #22491 -- documented how select_for_update() should be tested.Moayad Mardini
Thanks Andreas Pelme for the report. Backport of 668d432d0a from master
2014-06-30[1.7.x] Fixed #19489 -- Documented host parameter of assertRedirects().Tim Graham
Thanks mrknacky at gmail.com for the report and gajimenezmaggiora for the draft patch. Backport of e3c7af18a3 from master
2014-06-09[1.7.x] Doc edits for refs #22487.Tim Graham
Backport of c17cd151d8 from master
2014-06-08[1.7.x] Fixed #22487: Optional rollback emulation for migrated appsAndrew Godwin
Conflicts: django/db/backends/creation.py django/test/runner.py docs/ref/settings.txt docs/topics/testing/advanced.txt
2014-04-28[1.7.x] Revert "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. Backport of aabceadd7d from master
2014-04-28[1.7.x] Fixed #22254 -- Noted the requirement of calling django.setup() when ↵Tim Graham
running Thanks Peter Landry for the report. Backport of 26b03f2526 from master
2014-04-26[1.7.x] Updated doc links to point to Python 3 documentationClaude Paroz
Backport of 680a0f08b from master.
2014-04-22[1.7.x] Various documentation typo/spelling fixesMarti Raudsepp
Errors detected by Topy (https://github.com/intgr/topy), all changes verified by hand. Backport of 11d453bcad from master
2014-04-19[1.7.x] Fixed #22417 -- Added additional documentation for refs #16969.Tim Graham
Thanks Jon Foster for the report. Backport of 1b3a3fc1e4 from master
2014-04-16[1.7.x] Fixed spelling errors in documentation.Tim Graham
Backport of b5ce21accb from master
2014-04-12[1.7.x] Also allowed a non-overridden setting to be deletedClaude Paroz
Refs #20032, #18824. Thanks ztorstri at gmail.com for the report. Backport of 3417ba0309 from master.
2014-04-12[1.7.x] Fixed #22102 -- Made SimpleTestCase tests run before ↵Claude Paroz
unittest.TestCase ones Thanks aptiko for the report and Tim Graham for the review. Backport of 3e3a7372f5 from master.
2014-04-05[1.7.x] Fixed #22216 -- Added Form.non_field_errors to form API doc.Tim Graham
Backport of d2f4553d705951ca8043d687f9493c559f494a0c from master
2014-03-09Corrected a few missed references to old test settingsShai Berger
2014-02-28Fixed spelling mistakes in docs.Tim Graham
2014-02-28Fixed doc typos.Tim Graham
2014-02-25Fixed #22071 -- Added a warning regarding override_settings and aliasing.Henk Vos
Thanks EvilDMP for the suggestion.
2014-02-25Fixed docs typos.Szczepan Cieślik
2014-02-15Fixed #22002 -- Documented avoiding database interaction in AppConfig.ready().Zbigniew Siciarz
Thanks Marc Tamlyn for the suggestion.
2014-02-10Allowed a message to be passed to assertQuerysetEqual to make it consistent ↵Chris Bailey
with other assert methods.
2014-01-22Always use parentheses when documenting a method with no arguments.Baptiste Mispelon
2014-01-22Don't show `self` in the list of arguments of a method.Baptiste Mispelon
This is consistent with Python's official documentation and it's a sphinx recommendation too[1]. [1] http://sphinx-doc.org/markup/desc.html#dir-method Refs #21855.
2014-01-16Fixed #21740 -- Stopped using mutable default arguments in test clientClaude Paroz
Thanks Denver Coneybeare for the report and initial patch, and Atala for another patch.
2014-01-09Fixed #12571 -- Attached originating WSGIRequest to test client responses.Unai Zalakain
Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of the ``HttpResponse`` returned by the testing client. Thanks rvdrijst for the suggestion.
2013-12-31Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.Tim Graham
Thanks cjerdonek for the suggestion.
2013-12-23Added modify_settings to alter settings containing lists of values.Aymeric Augustin
2013-12-18Fixed #21625 -- incorrect documentation for DiscoverRunner.build_suiteTianyi Wang
2013-12-08Updated a bunch of hyperlinks in documentationClaude Paroz
2013-11-21Fixed #21479 -- Favor 'migrate' over 'syncdb' in the docs.Loic Bistuer
2013-11-19Fixed #15179 -- middlewares not applied for test client login()Unai Zalakain
Requests made with django.test.Client.login() and logout() respect defaults defined in django.test.Client instantiation and are processed through middleware. Thanks to Loic for the reviews.
2013-11-07Fixed #13725 -- take url scheme into account in assertRedirectsUnai Zalakain
Scheme is handled correctly when making comparisons between two URLs. If there isn't any scheme specified in the location where we are redirected to, the original request's scheme is used. If present, the scheme in ``expected_url`` is the one used to make the comparations to.
2013-11-02Fixed #21341 -- Eased https requests with the test clientUnai Zalakain
All request methods of ``django.test.client.Client`` receive a ``secure`` argument that defaults to ``False`` indicating whether or not to make the request through https. Thanks Aymeric Augustin for the review.
2013-10-22Fixed #21304 -- Typo in docs/topics/testing/advanced.txtTim Graham
Thanks joao at silvaneves.org for the report.
2013-10-11Fixed #15582 -- Documented how TransactionTestCase.multi_db affects fixtures.Tim Graham
Thanks slinkp for the suggestion.
2013-09-10Fixed #20919 -- Extended assertRedirects to be able to avoid fetching ↵Juan Catalano
redirect's response. Thanks mjtamlyn for the suggestion.
2013-09-10Fixed #16534 -- Improved ability to customize DiscoverRunnerTim Graham
Added DiscoverRunner.test_suite and .test_runner attributes. Thanks tomchristie for the suggestion and jcd for the patch.
2013-09-09Fixed #19885 -- cleaned up the django.test namespaceKevin Christopher Henry
* override_settings may now be imported from django.test * removed Approximate from django.test * updated documentation for things importable from django.test Thanks akaariai for the suggestion.
2013-09-07Fixed #21068 -- Added some docs for DiscoverRunnerTim Graham
Thanks jcd.
2013-09-06Fixed a link in topics/testing/overview.txtTim Graham