Parallel execution of unittests

Andrei Alexandrescu via Digitalmars-d digitalmars-d at
Thu May 1 08:16:11 PDT 2014

On 5/1/14, 4:44 AM, w0rp wrote:
> On Thursday, 1 May 2014 at 11:05:55 UTC, Jacob Carlborg wrote:
>> On 2014-04-30 23:35, Andrei Alexandrescu wrote:
>>> Agreed. I think we should look into parallelizing all unittests. --
>>> Andrei
>> I recommend running the tests in random order as well.
> This is a bad idea. Tests could fail only some of the time. Even if bugs
> are missed, I would prefer it if tests did exactly the same thing every
> time.

I do random testing all the time, and I print the seed of the prng upon 
startup. When something fails randomly, I take the seed and seed the 
prng with it to reproduce. -- Andrei

More information about the Digitalmars-d mailing list