Initializes a test instance that has just started running.

Namespace:  Gallio.Framework.Pattern
Assembly:  Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public ActionChain<PatternTestInstanceState> InitializeTestInstanceChain { get; }
Visual Basic (Declaration)
Public ReadOnly Property InitializeTestInstanceChain As ActionChain(Of PatternTestInstanceState)

Remarks

This method runs in the TestContext of the test instance in the Initialize lifecycle phase.

The following actions are typically performed during this phase:

  • Creating the test fixture instance and setting FixtureType and FixtureInstance.
  • Configuring the test fixture in advance of test execution.
  • 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:

See Also