DescriptionExpose whether unittest failed to tearDown().
Use-case: check performed in tearDown() that fails because the actual test fails.
In such a case, original failure exception would be overwritten, hiding real
cause and confusing developer who is trying to make sense of it.
Example: thread watcher, checks that all new threads are terminated before
test finishes: https://codereview.chromium.org/2127943002/
BUG=
Committed: https://chromium.googlesource.com/infra/testing/expect_tests/+/b125b3d0b93c533f72bee3d3725fec5aeaa5d3a2
Patch Set 1 #
Messages
Total messages: 11 (7 generated)
|