Skip to content

IEngine<TFixtures>

Namespace: E2E.Engine

public interface IEngine<out TFixtures> : IEngine where TFixtures : class

An engine that contributes fixtures to the sessions opened on it, which LaunchAsync&lt;T&gt; 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

View source

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