Represents the run-time state of a single instance of a PatternTest
that is to be executed.
Namespace:
Gallio.Framework.PatternAssembly: Gallio (in Gallio.dll) Version: 3.3.0.0 (3.3.610.0)
Syntax
| C# |
|---|
public class PatternTestInstanceState |
| Visual Basic (Declaration) |
|---|
Public Class PatternTestInstanceState |
Remarks
Typical lifecycle of PatternTestInstanceState:
- The PatternTestController creates a PatternTestInstanceState for the instance of the PatternTest to be executed using particular data bindings.
- The controller populates the instance state with slot values for each slot with an associated IDataAccessor in the PatternTestState.
- The controller calls BeforeTestInstanceChain to give test extensions the opportunity to modify the instance state.
- The controller initializes, sets up, executes, tears down and disposes the test instance.
- The controller calls AfterTestInstanceChain to give test extensions the opportunity to clean up the instance state.
