New submission from Victor Engmark <victor.engm...@gmail.com>:

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

----------
messages: 312671
nosy: Victor Engmark
priority: normal
severity: normal
status: open
title: Add public TestCase method/property to get result of current test
type: enhancement

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue32926>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to