This topic has not yet been rated - Rate this topic

Assert.Fail Method

Fails the assertion without checking any conditions.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
public static void Fail()
ExceptionCondition
AssertFailedException

Always thrown.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.