live Test
fun <STATE : Any, SIDE_EFFECT : Any, CONTAINER_HOST : ContainerHost<STATE, SIDE_EFFECT>> CONTAINER_HOST.liveTest(initialState: STATE? = null, buildSettings: LiveTestSettingsBuilder.() -> Unit = {}): RegularTestContainerHost<STATE, SIDE_EFFECT, CONTAINER_HOST>(source)
Deprecated
Use org.orbitmvi.orbit.test.test instead. This will be removed in the future.
Puts your ContainerHost into live test mode. This mode uses a real Orbit container with some basic test settings. Orbit dispatchers are overridden with UnconfinedTestDispatcher by default.
Return
A live test wrapper around ContainerHost.
Parameters
initial State
The state to initialize the test container with. Omit this parameter to use the real initial state of the container.
build Settings
Builds the RealSettings for this test