Tears down a test instance following execution.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public ActionChain<PatternTestInstanceState> TearDownTestInstanceChain { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property TearDownTestInstanceChain As ActionChain(Of PatternTestInstanceState) |
Remarks
This method runs in the TestContext of the test instance in the TearDown lifecycle phase.
The following actions are typically performed during this phase:
- Invoking test teardown methods.
- Accessing user data via Data.
The following actions are forbidden during this phase because they would either go unnoticed or have undesirable side-effects upon test execution:
- Modifying the PatternTest object in any way.
- Modifying the PatternTestState object in any way.
- Modifying the PatternTestStep object in any way.
