does anyone know how to capture a junit assertione...
# announcements
t
does anyone know how to capture a junit assertionerror that happens in a different thread? 🤔
f
java-wise your best option is either dynamic code generation or adding a default exception handler to the thread.
Thread#setUncaughtExceptionHandler(h);
t
i can't add a handler to the thread, as i don't have access to it
how would dynamic code generation work for this?