Interface IAccelergreatComponent
A Accelergreat component is the basis on which allows Accelergreat to function, it represents a single integration test dependency. For example, a database or a web API.
Namespace: Accelergreat.Components
Assembly: Accelergreat.dll
Syntax
public interface IAccelergreatComponent
Methods
InitializeAsync(IAccelergreatEnvironmentPipelineData)
Called when initializing a component. The component should be ready to use after this method has executed.
Declaration
Task InitializeAsync(IAccelergreatEnvironmentPipelineData accelergreatEnvironmentPipelineData)
Parameters
Type | Name | Description |
---|---|---|
IAccelergreatEnvironmentPipelineData | accelergreatEnvironmentPipelineData | Mutable dictionary that is used to share objects between components. See AccelergreatEnvironmentPipelineDataKeys for pre-defined keys. |
Returns
Type | Description |
---|---|
Task |
ResetAsync()
Called when resetting a component. The component should be back to it's initial state after this method has executed.
Declaration
Task ResetAsync()
Returns
Type | Description |
---|---|
Task |