Remote / API

foldkit-remote-domain/testing

A Domain model as a client-test fixture: the model hosted in memory with every View delivery held until drain, seeded with the events a test gives, called as one principal, and answering RemoteClient through the adapter. A page's client tests run against it with no server.

Namespaces

FixtureWhat a fixture offers: layer answers RemoteClient and the Api's own client; drain lets every held View delivery through; commits lists each event a command…

Interfaces

FixtureConfig
GivenEvents an aggregate instance already holds when the test starts.
HostedModelA Model class as the fixture hosts it.

Types

HostedApiWhat the fixture needs of a Api class beyond AnyApi: its in-process client.