Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

TestContext.CurrentTestOutcome Property

You can use this property in a TestCleanup method to determine the outcome of a test that has run.

Namespace:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)
abstract CurrentTestOutcome : UnitTestOutcome with get 
override CurrentTestOutcome : UnitTestOutcome with get

Property Value

Type: Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestOutcome
A UnitTestOutcome that states the outcome of a test that has run.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.