Visual Studio 2010 failed tests throw exceptions
Posted
by Dave Hanson
on Stack Overflow
See other posts from Stack Overflow
or by Dave Hanson
Published on 2010-04-17T13:30:13Z
Indexed on
2010/04/17
13:33 UTC
Read the original article
Hit count: 338
TDD
|visual-studio-2010
In VisualStudio2010 Ultimate RC
I cannot figure out how to suppress
{"CollectionAssert.AreEqual failed. (Element at index 0 do not match.)"}
from
Microsoft.VisualStudio.TestTools.UnitTesting.AssertFailedException
If i Ctrl+Alt+E I get the exception dialog; however that exception doesn't seem to be in there to be suppressed. Does anyone else have any experience with this? I don't remember having to suppress these Assert fails in studio 2008 when running unit tests. My tests would fail and I could just click on the TestResults to see which tests failed instead of fighting through these dialogs. For now I guess I'll just run my tests through the command window.
© Stack Overflow or respective owner