IEngine<TFixtures>
Namespace: E2E.Engine
public interface IEngine<out TFixtures> : IEngine where TFixtures : classAn engine that contributes fixtures to the sessions opened on it, which LaunchAsync<T> types a host and its sessions by.
Upstream’s EngineHandle<Fixtures> (defineEngine<Fixtures>).
Type parameters
| Name | Description |
|---|---|
TFixtures |
What a session on this engine holds beside Screen and App, such as Device on a mobile engine. |
Derived: WebEngine
Methods
Section titled “Methods”CreateFixtures(IEngineSession, Session)
Section titled “CreateFixtures(IEngineSession, Session)”TFixtures CreateFixtures(IEngineSession session, Session controls)The fixtures of one session, over the engine’s own <code class=“paramref”>session</code> and the <code class=“paramref”>controls</code> the harness built (its Browser and App).
Parameters
| Name | Type | Description |
|---|---|---|
session |
IEngineSession | |
controls |
Session |
Returns: TFixtures