std.experimental.testing formal review
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Tue Sep 15 01:27:27 PDT 2015
On Sunday, 13 September 2015 at 10:44:30 UTC, Atila Neves wrote:
>> 2) being able to do weak ordering of tests (by defining strict
>> sequence of groups so that parallelization/randomization only
>> happens within such group) - I have used something as simple
>> as numerical priority value so far for my needs
>
> There's `@singleThreaded` for that: all tests in a module with
> that UDA run in series (other modules are still run in
> parallel). I didn't think one was needed for random ordering.
>
> Atila
I had inverse thing in mind - all tests within a module / block
run in parallel, but blocks run sequentially. It is not a good
feature for unit tests but quite important one to higher level
ones which deal with nasty environment issues.
More information about the Digitalmars-d
mailing list