Program logic bugs vs input/environmental errors

Dan Olson via Digitalmars-d digitalmars-d at puremagic.com
Thu Oct 16 08:39:44 PDT 2014


"Ola Fosheim "Grøstad\"" <ola.fosheim.grostad+dlang at gmail.com> writes:

> On Wednesday, 15 October 2014 at 14:25:43 UTC, Dicebot wrote:
>> How can one continue without recovering? This will result in any
>> kind of environment not being cleaned and false failures of other
>> tests that share it.
>
> fork()?

Forking each unittest sounds like a good solution.
-- 
dano


More information about the Digitalmars-d mailing list