This proposal is to share and win in the search for problems.
Place the [IgnoreAttribute] attribute on top of all but one of your tests. Run it all. Is the same thing happening? If you do not delete, ignore another test and run everything again. Continue to do this until the failure. Is a particular test in combination unsuccessful with another? If so, what does this tell you ...
If the failure occurs immediately or independently of the selected tests, check the initialization methods that have [ClassInitialize ()] or [TestInitialize ()] above them (if any) and make sure that they do not cause problems, such as intiailzation happens more than once when you need to do this only once, setting a breakpoint in their methods and seeing if they are called as expected.
source share