[Python-Dev] unittest.TestResult lacks API to separate subtests
Ilya Kazakevich
Ilya.Kazakevich at JetBrains.com
Fri Jun 24 11:52:27 EDT 2016
More information about the Python-Dev mailing list
Fri Jun 24 11:52:27 EDT 2016
- Previous message (by thread): [Python-Dev] Here's what's going into 3.5.2 final and 3.4.5 final
- Next message (by thread): [Python-Dev] unittest.TestResult lacks API to separate subtests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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/> http://www.jetbrains.com The Drive to Develop -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20160624/e52eb36a/attachment.html>
- Previous message (by thread): [Python-Dev] Here's what's going into 3.5.2 final and 3.4.5 final
- Next message (by thread): [Python-Dev] unittest.TestResult lacks API to separate subtests
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list