Cleans up a completed test instance after its use.

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

Syntax

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

Remarks

This method runs in the TestContext of the PrimaryTestStep because the test step for this instance (if different from the primary step) has terminated.

The following actions are typically performed during this phase:

  • Deconfiguring the test environment following the test disposal.
  • 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