Initializes a test prior to the execution of its instances.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public ActionChain<PatternTestState> InitializeTestChain { get; } |
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property InitializeTestChain As ActionChain(Of PatternTestState) |
Remarks
This method runs in the TestContext of the PrimaryTestStep.
The following actions are typically performed during this phase:
- Aborting the test run if any preconditions have not been satisfied or if the test is to be skipped.
- Configuring the test environment in advance of the enumeration and execution of all test instances.
- 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.
