Package-level declarations
Types
Link copied to clipboard
class PluginTestScope<S : MVIState, I : MVIIntent, A : MVIAction> : PipelineContext<S, I, A> , StorePlugin<S, I, A>
A class which provides DSL for testing a StorePlugin.
Functions
Link copied to clipboard
inline suspend fun <S : MVIState, I : MVIIntent, A : MVIAction> LazyPlugin<S, I, A>.test(initial: S, timeTravel: TimeTravel<S, I, A> = TimeTravel(), crossinline configuration: StoreConfigurationBuilder.() -> Unit = { debuggable = true }, crossinline block: suspend PluginTestScope<S, I, A>.() -> Unit)
A function that runs a test on a StorePlugin.