On Thu, 01 May 2014 11:44:11 +0000, 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.
Running tests in random order helps find hidden dependencies, but I wouldn't want it as a default. I lot of unittesting libraries offer this. If you don't run tests often it doesn't help much, but if you do TDD it can help.