https://issues.dlang.org/show_bug.cgi?id=19602
--- Comment #13 from Jacob Carlborg <d...@me.com> --- (In reply to Walter Bright from comment #11) > Unittest failures at the top level do not call the assert fail handler, they > call _d_unittestp(), which then calls the assert error handler. This means > you can supply your own _d_unittestp() replacement. Ah, I didn't know about that. Then `_d_unittestp` can be implemented to throw an exception instead of an error. --