Message312671
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 |
|
Date |
User |
Action |
Args |
2018-02-23 22:08:37 | Victor Engmark | set | recipients:
+ Victor Engmark |
2018-02-23 22:08:37 | Victor Engmark | set | messageid: <1519423717.02.0.467229070634.issue32926@psf.upfronthosting.co.za> |
2018-02-23 22:08:37 | Victor Engmark | link | issue32926 messages |
2018-02-23 22:08:36 | Victor Engmark | create | |
|