For performance reason I execute the Unit Test in parallel. There are several classes in which Unit Tests cannot be executed in parallel (I know that this is problematic but trying to find an intermediate solution).
Is there a way to configure to execute tests in a class sequentially while running all tests in solution?
Use xunit and turn off the parallelism using
in the AssemblyInfo.cs file of your unit test project.
If you are using
Microsoft.VisualStudio.QualityTools.UnitTestFramework
checkout this link to see how easy is to migrate to xunit Comparing xUnit.net to other frameworks