Unit tests that pass with MSTest but Fail when run with R#
I am running Visual Studio 2012 with the latest version of R# (just pulled down a couple days ago). I have 8704 unit tests in my solution. When I run them with Visual Studio all 8704 pass. When I run them with R# I have a random number (in the range of 300+/-) that fail. Its not always the same tests but they always seem to be tests that fail based on the current thread culture / language. An example is Asserting that a specific error message is returned "Sample Error Message". It fails because the expected is "Sample Error Message" but the actual is "Sample Foutmelding" which is the Dutch translation of that error message. We do have tests that change the culture of the "current thread" but they all also set it back after the test is done. Its extremely difficult to debug them to get any details since its not the same tests that fail each time and I can't just debug one, I have to debug all 8704. Any help would be appreciated.
Please sign in to leave a comment.