Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

AfterTestInitializeEventArgs.IsTestInitializeFailed Property

 

Gets a value that indicates whether the test method that has the TestInitializeAttribute applied has failed to be initialized because of an exception.

Namespace:   Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

public bool IsTestInitializeFailed { get; }

Property Value

Type: System.Boolean

true if the test method that has the TestInitializeAttribute applied has not been initialized because of an exception; otherwise, false.

Return to top
Show: