Issue 32926: Add public TestCase method/property to get result of current test (original) (raw)
Issue32926
Created on 2018-02-23 22:08 by Victor Engmark, last changed 2022-04-11 14:58 by admin.
Messages (1) | ||
---|---|---|
msg312671 - (view) | Author: Victor Engmark (Victor Engmark) | Date: 2018-02-23 22:08 |
The community has come up with multiple hacks [1] to be able to inspect the current test result in tearDown (to collect more expensive diagnostics only when the test fails). It would be great to have a documented and simple way to check whether the test currently in play was successful. To be clear, TestCase.wasSuccessful() is not useful in this case, since it only reports whether all tests run so far were successful. [1] https://stackoverflow.com/q/4414234/96588 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2022-04-11 14:58:58 | admin | set | github: 77107 |
2019-06-27 09:20:46 | jdemeyer | set | pull_requests: - <pull%5Frequest14235> |
2019-06-27 09:12:20 | jdemeyer | set | stage: patch reviewpull_requests: + <pull%5Frequest14235> |
2019-06-27 08:34:51 | xtreak | set | nosy: + rbcollins, ezio.melotti, michael.foordstage: patch review -> (no value)versions: + Python 3.9, - Python 3.8 |
2019-06-27 08:34:10 | xtreak | set | pull_requests: - <pull%5Frequest14234> |
2019-06-27 08:17:58 | jdemeyer | set | keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest14234> |
2018-02-24 01:06:46 | ppperry | set | components: + Library (Lib) |
2018-02-24 01:06:34 | ppperry | set | versions: + Python 3.8 |
2018-02-23 22:08:37 | Victor Engmark | create |