Assembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public ActionChain<PatternTestState, PatternTestInstanceActions> DecorateTestInstanceChain { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property DecorateTestInstanceChain As ActionChain(Of PatternTestState, PatternTestInstanceActions) |
Remarks
This method runs in the TestContext of its containing test instance because the test has not yet been started.
This method may apply any number of decorations to the test instance's actions to the supplied PatternTestInstanceActions object. The test instance's original actions are unmodified by this operation and the decorated actions are discarded once the child test is finished.
The following actions are typically performed during this phase:
- Adding additional actions for the test instance to the PatternTestInstanceActions.
- 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 PatternTestStep object in any way.
- Modifying the PatternTestState object in any way.
