#2879: [patch] Add live test server support to test framework
--------------------------------------------------------+-------------------
   Reporter:  Mikeal Rogers <[EMAIL PROTECTED]>  |                Owner:  
nobody          
     Status:  reopened                                  |            Component: 
 Unit test system
    Version:                                            |           Resolution: 
                 
   Keywords:                                            |                Stage: 
 Accepted        
  Has_patch:  1                                         |           Needs_docs: 
 1               
Needs_tests:  1                                         |   Needs_better_patch: 
 1               
--------------------------------------------------------+-------------------
Comment (by Mikeal Rogers <[EMAIL PROTECTED]>):

 I originally wrote this a long time ago (at least in web years). I've
 learned a lot since then and have mde my way through a dozen test
 frameworks and developed a few myself. I took a few hours out of my day
 today and try to re-assess the situation.

 IMHO TestCase is not the right place for this. TestCase can only define
 setup and teardown for a single unittest class, this needs to define
 something that can be a product of the test environment that encompasses
 multiple test classes and suites.

 It's been a while since I monkeyed around with unittest, but having done
 this in the past I know it's not easy and is one of the primary reasons
 people don't like unittest.

 I also haven't looked at the test infrastructure for django in a long
 time, just a quick glance shows that a lot seems to have changed, so I
 don't know if this is even possible.

 Eventually I'm going to need to integrate windmill
 (http://windmill.osafoundation.org) tests in to my own django project.
 When that work is finished I'll send a proposal to the list to see if it
 would be a valued contribution, but doing this right will probably require
 a new collector based framework with more acutely defined setup/teardown.

 In the meantime, if anyone wants to take on this work again ( adding a
 TestCase with live server support ) they are more than welcome to it, you
 can email me personally if you have any implementation specific questions.
 I'm more than happy to help I'm just not up for wrangling unittest
 anymore.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2879#comment:22>
Django Code <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