Поделиться через


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
None No failure.
Assertion An assertion failed.
UnhandledException An exception was not handled.
UnexpectedException An unexpected exception was encountered.
MissingException An exception was missing.
Other An unknown failure type occurred.

See Also

Reference

Microsoft.VisualStudio.TestTools.Execution Namespace

TestCaseFailedEventArgs