DummyLiveModel
class DummyLiveModel @JvmOverloads constructor(steps: List<DummyLiveStep>, val name: String = "dummy-live-model") : Model
A fake live Model for testing live agents and runners without a network connection.
Each call to connect records the request and returns a new DummyLiveConnection that plays steps.
Use perConnection to give each connection its own steps, for example to script a reconnect.
Properties
Link copied to clipboard
Every connection opened so far, oldest first.
Link copied to clipboard
The requests passed to connect, oldest first.
Functions
Link copied to clipboard
Link copied to clipboard
Returns a flow that throws AssertionError when collected; only connect is supported.