liveTest

fun <STATE : Any, SIDE_EFFECT : Any, CONTAINER_HOST : ContainerHost<STATE, SIDE_EFFECT>> CONTAINER_HOST.liveTest(initialState: STATE, settings: Container.Settings = container.settings.copy(intentDispatcher = Dispatchers.Unconfined)): RegularTestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>

Puts your ContainerHost into live test mode. This mode uses a real Orbit container with some basic test settings.

Return

A live test wrapper around ContainerHost.

Parameters

initialState

The state to initialize the test container with

settings

Replaces the Container.Settings for this test

Sources

Link copied to clipboard