Expand Minimize

TestCaseFailureType Enumeration

This enumeration represents the types of failure for a test case as used in the TestCaseFailedEventArgs class.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

public enum TestCaseFailureType

Member nameDescription
AssertionAn assertion failed.
MissingExceptionAn exception was missing.
NoneNo failure.
OtherAn unknown failure type occurred.
UnexpectedExceptionAn unexpected exception was encountered.
UnhandledExceptionAn exception was not handled.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft