Sets up a test instance prior to execution.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public ActionChain<PatternTestInstanceState> SetUpTestInstanceChain { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property SetUpTestInstanceChain As ActionChain(Of PatternTestInstanceState) |
Remarks
This method runs in the TestContext of the test instance in the SetUp lifecycle phase.
The following actions are typically performed during this phase:
- Invoking test setup 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.
