live Test
fun <STATE : Any, SIDE_EFFECT : Any, T : ContainerHost<STATE, SIDE_EFFECT>> T.liveTest(initialState: STATE, runOnCreate: Boolean = false, settings: Container.Settings = container.settings.copy(intentDispatcher = Dispatchers.Unconfined)): RegularTestContainerHost<STATE, SIDE_EFFECT, T>
Content copied to clipboard
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
runOnCreate
Whether to run the container's create lambda
settings
Replaces the Container.Settings for this test
Sources
(source)
Link copied to clipboard