jhalterman / concurrentunit

Toolkit for testing multi-threaded and asynchronous applications
Apache License 2.0
420 stars 45 forks source link

Handle uncaught exceptions #7

Open jhalterman opened 9 years ago

jhalterman commented 9 years ago

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.

codeperfector commented 5 years ago

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.