#20456: Easier unit testing for class-based views
-----------------------------------+--------------------------------------
     Reporter:  BenoƮt Bryon       |                    Owner:  Felipe Lee
         Type:  New feature        |                   Status:  assigned
    Component:  Testing framework  |                  Version:  master
     Severity:  Normal             |               Resolution:
     Keywords:  cbv test           |             Triage Stage:  Accepted
    Has patch:  1                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  1
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------
Changes (by Felipe Lee):

 * owner:  (none) => Felipe Lee
 * status:  new => assigned


Comment:

 Looks like there's a repo out there that has a TestCase set up to make
 testing CBVs easier: https://github.com/revsys/django-test-
 plus/blob/master/test_plus/test.py#L386

 Seems like a good starting point. There's some things about that
 implementation that I'll probably change a bit. I'll also remove some
 methods that are very specific to that repo's testing classes.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20456#comment:15>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.ba2ff50a2957c04ecb99259bcd7e29bf%40djangoproject.com.

Reply via email to