#32668: Separate test-collection setup from runtests.py's setup() for use in
get_app_test_labels()
--------------------------------------+------------------------------------
     Reporter:  Chris Jerdonek        |                    Owner:  nobody
         Type:  Cleanup/optimization  |                   Status:  new
    Component:  Testing framework     |                  Version:  dev
     Severity:  Normal                |               Resolution:
     Keywords:                        |             Triage Stage:  Accepted
    Has patch:  0                     |      Needs documentation:  0
  Needs tests:  0                     |  Patch needs improvement:  0
Easy pickings:  0                     |                    UI/UX:  0
--------------------------------------+------------------------------------
Changes (by Carlton Gibson):

 * stage:  Unreviewed => Accepted


Comment:

 Yes, thank you for the good explanation Chris, this makes sense.

 > By extracting out from setup() a setup_test_collection() function that
 just collects and returns the top-level, filtered test labels, I think
 things will become a lot easier to understand and work with -- not just
 for bisect_tests() and paired_tests(), but also for the main
 django_tests() case.

 I agree `setup()` is a ''little opaque'' so +1.
 Thanks.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32668#comment:2>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.bfe5c196a6b99f12feb0d6b5bafe9107%40djangoproject.com.

Reply via email to