Update:
Visual Studio 2010 introduced the ability to run tests in parallel.
Here is a step by step article about how to enable this.
MsTest:
So according to David Williamson, from Microsoft Visual Studio Team System, on this post in the MSDN forums:
Tests absolutely do NOT run in
parallel when run in VS or via
mstest.exe. If they are run in a
Load Test through VS then that is a
different story. Basic execution,
however, is always serial.
Also, tests run using MsTest are each run using a different thread in order to ensure that you have a clean slate for each test. There is no way to disable this behavior.
NUnit:
NUnit runs all tests on the same thread.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…