concurrentunit icon indicating copy to clipboard operation
concurrentunit copied to clipboard

Handle uncaught exceptions

Open jhalterman opened this issue 10 years ago • 1 comments

Idea from here http://stackoverflow.com/questions/30778485/whats-the-correct-way-to-test-runnables-that-can-not-be-directly-seen-by-a-ju/30789208#30789208

Handle failures in threads running code that cannot be modified.

jhalterman avatar Jun 11 '15 18:06 jhalterman

Isn't it probably best to leave that to the developer writing the test instead of adding a feature that overrides the uncaught exception handler? The code in your post seems pretty trivial for any developer to follow.

codeperfector avatar Jan 02 '19 21:01 codeperfector