This is covered by issue #1474. Issue #1239 may be a symptom of the
same problem.
SetUpFixtures attributed as you have done will not run in parallel.
However, this says nothing about the children of those fixtures. What
happens is that the two SetUpFixtures are placed in a non-parallel
queue. They run sequentially. As each completes it's OneTimeSetUp, it
adds it's child fixtures to a queue - in this case, a parallel queue
with multiple workers. They are free to run in any order. Put in other
words, NUnit does not consider a SetUpFixture to be "running" in
between it's OneTimeSetUp and OneTimeTearDown. The OneTimeTearDown,
btw, runs on the same thread as the last fixture that finishes
running. This is also a potential problem, although it's less obvious
in the case of TearDowns.
Issue #1474 is in design status, which means "We have to figure out
how to do this." I just increased its priority.
As a workaround, since you only have two "areas", I suggest putting
them in separate assemblies and running both of them serially. You can
either run NUnit twice or use --process:Separate so that they run
sequentially. Of course, depending on what your tests are doing, you
may even to be able to run in parallel using two processes.
> --
> You received this message because you are subscribed to the Google Groups
> "NUnit-Discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
nunit-discus...@googlegroups.com.
> To post to this group, send email to
nunit-...@googlegroups.com.
> Visit this group at
https://groups.google.com/group/nunit-discuss.
> For more options, visit
https://groups.google.com/d/optout.