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)

Syntax

'Declaration
Public Enumeration TestCaseFailureType
public enum TestCaseFailureType
public enum class TestCaseFailureType
type TestCaseFailureType
public enum TestCaseFailureType

Members

Member name Description
Assertion An assertion failed.
MissingException An exception was missing.
None No failure.
Other An unknown failure type occurred.
UnexpectedException An unexpected exception was encountered.
UnhandledException An exception was not handled.

See Also

Reference

Microsoft.VisualStudio.TestTools.Execution Namespace

TestCaseFailedEventArgs