[Python-Dev] unittest.TestResult lacks API to separate subtests
Guido van Rossum
guido at python.org
Fri Jun 24 14:53:02 EDT 2016
More information about the Python-Dev mailing list
Fri Jun 24 14:53:02 EDT 2016
- Previous message (by thread): [Python-Dev] unittest.TestResult lacks API to separate subtests
- Next message (by thread): [Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Ilya, That sounds like a fine idea. Can you submit a patch to our bug tracker? bugs.python.org. You'll need to fill out a contributor form as well ( https://www.python.org/psf/contrib/contrib-form/) --Guido On Fri, Jun 24, 2016 at 8:52 AM, Ilya Kazakevich < Ilya.Kazakevich at jetbrains.com> wrote: > Hello, > > > > We’re developing Python IDE and integrated it with unittest module using > TestResult > <https://docs.python.org/3.4/library/unittest.html#unittest.TestResult> > inheritor to track test start, end etc. With Py3K, it supports addSubTest method, > that is called after all subtests. But there is no method called before and > after _*each*_ subtest (like it is done for regular tests). With out of > it I can’t fetch each subtest output and display it correctly. > > > > I suggest to add subTestStart / subTestEnd methods to help me with my > issue and other people with similar issues. I can send patch if you think > this is a good idea. > > > > > > Ilya Kazakevich > > > > JetBrains > > http://www.jetbrains.com > > The Drive to Develop > > > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/guido%40python.org > > -- --Guido van Rossum (python.org/~guido) -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160624/3637b736/attachment.html>
- Previous message (by thread): [Python-Dev] unittest.TestResult lacks API to separate subtests
- Next message (by thread): [Python-Dev] PEP 520: Preserving Class Attribute Definition Order (round 5)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list