Sets the step's interim Outcome.
Namespace:
Gallio.FrameworkAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public void SetInterimOutcome( TestOutcome outcome ) |
| Visual Basic (Declaration) |
|---|
Public Sub SetInterimOutcome ( _ outcome As TestOutcome _ ) |
Parameters
- outcome
- Type: Gallio.Model..::.TestOutcome
Remarks
The interim outcome is used to communicate the anticipated outcome of the step to later phases of execution.
The value set here will be overridden by whatever final outcome the step returns. Consequently the actual outcome may still differ from the anticipated outcome that was set using this method.
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | Thrown if attempting to set the outcome while the test is not running. |
