Gets the step's outcome or its interim outcome if the test is still running.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public TestOutcome Outcome { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property Outcome As TestOutcome |
Remarks
The value of this property is initially Passed but may change over the course of execution to reflect the anticipated outcome of the test. When the test finishes, its outcome is frozen.
For example, this property enables code running as part of the tear down phase to determine whether the test is failing and to perform different actions in that case.
