Adrian Holovaty
|
f2aaa3d1d1
|
Fixed #4420 -- Fixed broken link in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-29 18:15:24 +00:00 |
Malcolm Tredinnick
|
0c4385bb02
|
Added new TEST_DATABASE_CHARSET and TEST_DATABASE_COLLATION settings to ensure
that databases are created with the expected encoding during testing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-29 12:42:08 +00:00 |
Malcolm Tredinnick
|
67abbb6ea0
|
Fixed #4366 -- Fixed a small typo. Thanks, Ivan Sagalaev.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-27 13:20:48 +00:00 |
Adrian Holovaty
|
a386aa7cc2
|
Fixed #4285 -- Fixed ReST error in docs/testing.txt. Thanks, Michał Kwiatkowski
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-14 03:27:07 +00:00 |
Adrian Holovaty
|
2af00ca29a
|
Changed 'email' to 'e-mail' in docs/testing.txt, to fit our consistent style
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-12 15:35:11 +00:00 |
Russell Keith-Magee
|
5c68ab6e29
|
Added configurable arguments to assertRedirects and assertContains to allow for other response status codes. Thanks for the suggestion, Jiri Barton.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-10 11:27:59 +00:00 |
Russell Keith-Magee
|
469314e7bc
|
Added redirection for email services during test conditions.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-08 11:19:34 +00:00 |
Malcolm Tredinnick
|
af846c0b8b
|
Removed a bunch of trailing whitespace. Don't people realise whitespace is a
scarce resource, not to be wasted?
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-08 03:45:33 +00:00 |
Malcolm Tredinnick
|
b72c7d0517
|
Fixed #3936 -- Mentioned that the DATABASE_USER in the test settings file needs
permission to create a new database on the system. Patch from Vinay Sajip.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5168 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-08 03:42:19 +00:00 |
Russell Keith-Magee
|
f073797f4c
|
Added assertFormError, assertTemplateUsed and assertTemplateNotUsed for use during unit testing.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5156 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-07 12:34:18 +00:00 |
Adrian Holovaty
|
3d52993b46
|
Finally began proofreading docs/testing.txt. Did the intro for now; more to come
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5153 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-06 03:59:37 +00:00 |
Russell Keith-Magee
|
36b164d838
|
Backwards incompatible change: Changed the way test.Client.login operates. Old implemenation was fragile, and tightly bound to forms. New implementation interfaces directly with the login system, is compatible with any authentication backend, and doesn't depend upon specific template inputs being available.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5152 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-05 15:16:15 +00:00 |
Russell Keith-Magee
|
a0ef3ba2f7
|
Added a default test Client to TestCase, and added some assertions for some common testing patterns.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-05-05 03:03:33 +00:00 |
Malcolm Tredinnick
|
b786cc1017
|
Changed all URL references for django_admin/ to the canonical name of
django-admin/. This will avoid problems with missing HTTP redirects in future
historical documents. Refs #3992.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5040 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-04-20 09:22:01 +00:00 |
Russell Keith-Magee
|
c1a73d80da
|
Fixed #3253 -- Included test errors in the return code.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-29 11:59:31 +00:00 |
Russell Keith-Magee
|
4a6c7e75c2
|
Fixed #3855 -- Fixed typo in testing docs. Thanks for the report adamduren@gmail.com, and thanks to Simon for working up the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4845 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-29 10:55:48 +00:00 |
James Bennett
|
1c13d05043
|
Remove notes about things added/removed in development version, since the development version is about to become 0.96
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4804 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-23 20:45:30 +00:00 |
Russell Keith-Magee
|
6a7a155860
|
Clarified documentation on submission of multiple selections using test client.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-23 02:07:56 +00:00 |
Malcolm Tredinnick
|
d181aa0e94
|
Fixed typo.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4664 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-02 08:59:21 +00:00 |
Malcolm Tredinnick
|
ac09ff9f96
|
Fixed #3628 -- Fixed a broken link spotted by Manoj Govindan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-02 08:36:54 +00:00 |
Russell Keith-Magee
|
f2582eb972
|
Fixes #2333 -- Added test fixtures framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4659 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-03-01 13:11:08 +00:00 |
Russell Keith-Magee
|
f313e07b6e
|
Fixed #3253 -- Exposed the number of failed tests as a return code in manage.py and runtests.py.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-26 12:52:01 +00:00 |
Russell Keith-Magee
|
d6d51c9546
|
Fixed #3160 -- Added the ability to control the content type in a test client POST request. This is to allow easier testing of json-rpc/xml-rpc/soap etc interfaces. Thanks to Mikeal Rogers for the suggestion, and Ben <afternoon@uk2.net> for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4529 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-17 00:23:09 +00:00 |
Adrian Holovaty
|
26058b98a6
|
Fixed ReST error in docs/testing.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4507 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-14 23:45:45 +00:00 |
Russell Keith-Magee
|
f9cdde0cb4
|
Fixed #3162 -- Added coded to catch and rethrow exceptions that are thrown by the views visited by the test client. Thanks, Ben <afternoon@uk2.net>.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-11 00:23:31 +00:00 |
Russell Keith-Magee
|
9ba27afce0
|
Added a ``session`` attribute to the test Client, to make it easier to test if session variables have been modified in a view. Also renamed Client.cookie to Client.cookies, to match documentation and common sense.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4464 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-02-09 13:47:36 +00:00 |
Adrian Holovaty
|
8f8b77bb55
|
Fixed #3321 -- Fixed typo in docs/testing.txt (which still needs to be proofread). Thanks, russblau@imapmail.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-20 17:34:35 +00:00 |
Adrian Holovaty
|
bc52fdc446
|
Fixed #3317 -- Fixed typos in docs/testing.txt. Thanks for the patch, Marc Fargas
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-19 03:18:36 +00:00 |
Jacob Kaplan-Moss
|
3f6fd5dfd1
|
Fixed #3277 - fixed a couple of typoes in docs/testing.txt. Thanks, Jeremy.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4301 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2007-01-10 19:55:44 +00:00 |
Russell Keith-Magee
|
8925843d7e
|
Fixed #3085 -- Typo in testing documentation. Thanks, Lachlan Cannon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-12-01 07:07:18 +00:00 |
Adrian Holovaty
|
8fd2252e2b
|
Fixed #3000 -- Fixed typo in docs/testing.txt. Thanks, Bastian Kleineidam
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4059 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-11-10 03:29:50 +00:00 |
Malcolm Tredinnick
|
fa8a1d252a
|
Fixed #2845 -- Corrected a few spelling errors in the docs and changed a
couple of correctly spelt words to their North American counterparts for
consistency. Thanks, treborhudson@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3883 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-29 02:30:42 +00:00 |
Russell Keith-Magee
|
5b34781f28
|
Clarified some minor issues in test system documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3737 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-08 13:10:57 +00:00 |
Russell Keith-Magee
|
f0362aa300
|
Refs #2333 - Made minor formatting modifications to test framework documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-04 14:22:30 +00:00 |
Russell Keith-Magee
|
3a919dbe2e
|
Refs #2333 - Made minor tweaks to the formatting of testing documentation.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3713 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-04 13:05:51 +00:00 |
Russell Keith-Magee
|
8192a808bd
|
Refs #2333 - Added documentation for the test Client, and removed a stray import.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3711 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-03 02:44:15 +00:00 |
Russell Keith-Magee
|
d78e2ae355
|
Refs #2333 - Added a TEST_DATABASE_NAME setting that can be used to override the 'test_' + DATABASE_NAME naming policy. This setting is then used in runtests.py to restore the use of 'django_test_db' as the Django model/regression test database. Thanks to Michael Radziej for the feedback.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-09-01 13:33:26 +00:00 |
Russell Keith-Magee
|
fc2d5f461f
|
Refs #2333 - Added more documentation for testing framework, and clarified some code as a result of trying to describe it.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-31 14:29:47 +00:00 |
Jacob Kaplan-Moss
|
ff4f24958d
|
Added a rough cut of a document on using the new testing framework.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-08-29 18:04:09 +00:00 |