TestContext.CurrentTestOutcome Property

Definition

Gets the current test outcome.

public virtual Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestOutcome CurrentTestOutcome { get; }
member this.CurrentTestOutcome : Microsoft.VisualStudio.TestTools.UnitTesting.UnitTestOutcome
Public Overridable ReadOnly Property CurrentTestOutcome As UnitTestOutcome

Property Value

UnitTestOutcome

Applies to