KoinFlowTest

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
abstract val createTestContext: suspend (scope: CoroutineScope) -> TC
Link copied to clipboard
open override val createTestContextWithConfiguration: suspend (configuration: Unit, scope: CoroutineScope) -> TC
Link copied to clipboard
open val filter: (Flow<T>) -> Flow<T>
Link copied to clipboard
Link copied to clipboard
abstract val flowFromTestContext: suspend TC.() -> F
Link copied to clipboard
var job: Job?
Link copied to clipboard
Link copied to clipboard
val scope: CoroutineScope

Functions

Link copied to clipboard
suspend fun action(action: suspend () -> Unit)
Link copied to clipboard
open override fun afterTest()
Link copied to clipboard
expect open fun beforeTest()
Link copied to clipboard
suspend fun mainAction(action: suspend TC.() -> Unit)
Link copied to clipboard
suspend fun resetFlow()
Link copied to clipboard
suspend fun test(skip: Int, test: suspend TC.(T) -> Unit)
Link copied to clipboard
fun testOnUIThread(configuration: Unit, cancelScopeAfterTest: Boolean, block: suspend TC.() -> Unit)
Link copied to clipboard
Link copied to clipboard
fun testWithFlowAndTestContext(configuration: Unit, createFlowInMainScope: Boolean, retainContextAfterTest: Boolean, blockWithContext: suspend BaseFlowTest<Unit, TC, T, F>.(F) -> Unit)