Catching Errors

Jacob Carlborg via Digitalmars-d digitalmars-d at puremagic.com
Thu Jan 19 23:47:50 PST 2017


On 2017-01-19 16:46, Jack Stouffer wrote:

> Or, you can mark that unit test block as @system and have @safe tests in
> another block.

No, this is for when the framework is catching the exception. It needs 
to wrap _all_ unit test blocks in a try-catch. If an assert fails I want 
the rest of the unit tests to be able to run.

-- 
/Jacob Carlborg


More information about the Digitalmars-d mailing list