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.

TestOutcomeHelper::IsFail Method (TestOutcome)

 

Returns a value that indicates whether the test failed.

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

public:
static bool IsFail(
	TestOutcome outcome
)

Return Value

Type: System::Boolean

true if the outcome indicates that the test failed; otherwise, false.

Return to top
Show: