title: How does NUnit (and MSTest) handle tests that change static/shared variables?
body: <p>I have some code that uses the shared gateway pattern to implement an inversion of control container.  I have several hundred NUnit unit tests that exercises the code that uses this IOC.  They all work (on my machine!) but I am concerned that these tests might fail under load.  I seem to remember that NUnit (and MSTest) attempts to run tests in parallel on multiple threads (which would definitely trigger race conditions on the static/shared gateway) but I cannot find any documentation that says what actually happens.  My experience is that NUnit seems to be running the tests sequencially.  My question is, does NUnit (or MSTest) ever run unit tests in parallel? If so, under what conditions?  And, can I turn this off via some sort of configuration option?</p>