#11797: Test Client Response content form value parsing
---------------------------------------------+------------------------------
          Reporter:  Rupe                    |         Owner:  Rupe             
                
            Status:  assigned                |     Milestone:  1.3              
                
         Component:  Testing framework       |       Version:  SVN              
                
        Resolution:                          |      Keywords:  test client 
content form post get
             Stage:  Design decision needed  |     Has_patch:  1                
                
        Needs_docs:  0                       |   Needs_tests:  0                
                
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by kmike):

 * cc: kmike (added)

Comment:

 This is indeed an unnecessary duplication of work that have been done by
 twill and [http://pythonpaste.org/webtest/ WebTest].

 Twill can be integrated using [http://pypi.python.org/pypi/django-test-
 utils django-test-utils], tddspry and django-sane-testing, webtest can be
 integrated using [http://pypi.python.org/pypi/django-webtest/ django-
 webtest].

 With django-webtest you don't lose native django test client features like
 .template, .context, assertTemplateUsed, assertFormError. And it is able
 to do much more than just filling initial values for forms. So you can
 just use django-webtest instead of native django test client for your apps
 and get almost all django's test client benefits plus an easy and powerful
 API.

 On the other hand, django's test suite can certainly benefit from such
 feature.

 But bundling immature self-baked (maybe high-quality though)
 implementation looks like NIH. I don't think that bundling mature
 implementation make sense either.  So I think the best way is to leave
 things as-is. It is even documented that something like twill should be
 used instead of native test client for integrational-style tests.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11797#comment:14>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to