Why does Run All cause a crash in VS2012 unit testing but running one by one doesn’t?

I had the same problem, the tests failed for apparently no reason. Later I found that a buggy method was causing a StackOverflowException. When I fixed my bug, the VS bug disappeared.

Maybe it works most of the time because you don’t run the faulty code.

Leave a Comment