#27255: Change test runner to display full dotted name of test
-----------------------------------+--------------------------------------
     Reporter:  Chris Jerdonek     |                    Owner:  nobody
         Type:  Uncategorized      |                   Status:  closed
    Component:  Testing framework  |                  Version:  master
     Severity:  Normal             |               Resolution:  duplicate
     Keywords:                     |             Triage Stage:  Unreviewed
    Has patch:  0                  |      Needs documentation:  0
  Needs tests:  0                  |  Patch needs improvement:  0
Easy pickings:  0                  |                    UI/UX:  0
-----------------------------------+--------------------------------------

Comment (by Chris Jerdonek):

 The Python core developers don't consider this as a bug (and the default
 output needs to remain the same anyways to preserve backwards
 compatibility), and unittest already permits this to be easily customized,
 so it's not clear to me what there is to "fix."

 The final comment says this:

 > Yes, making customising the output easier is a good thing. One way is to
 use e.g. subunit.run (which can work with all unittest versions since 2.6)
 and write a custom filter. Or a custom TestResult and TextTestRunner can
 work too :)

 The pull request I was planning to submit was to use a custom TestResult
 as this commenter (as well as Michael Foord's comment) suggests.

--
Ticket URL: <https://code.djangoproject.com/ticket/27255#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 post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.6c7ff0121d62be45ff0bd593376fb51e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to