#32489: Add a generator function in runner.py to iterate over a test suite's 
test
cases
--------------------------------------+------------------------------------
     Reporter:  Chris Jerdonek        |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Testing framework     |                  Version:  master
     Severity:  Normal                |               Resolution:
     Keywords:  test suite,iterator,  |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------

Comment (by Chris Jerdonek):

 Also, I just noticed that the proposed `iter_test_cases()` should probably
 also sport a `reverse` keyword argument, to support e.g.
 `partition_suite_by_type()`. That way `partition_suite_by_type()` won't
 need to construct the full list before reversing it.

 (I can update my code snippet above to support passing `reverse`.)

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32489#comment:5>
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/067.e6dfb8b34ff74eb652327014d66ae5ac%40djangoproject.com.

Reply via email to