Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
open class KoinTestContext(appDeclaration: KoinAppDeclaration? = null, koinModules: List<Module>) : BaseKoinUIThreadTest.KoinTestContext

Properties

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

Functions

Link copied to clipboard
expect open fun afterTest()
Link copied to clipboard
expect open fun beforeTest()
Link copied to clipboard
fun testOnUIThread(configuration: Unit, cancelScopeAfterTest: Boolean, block: suspend TC.() -> Unit)
fun testOnUIThread(cancelScopeAfterTest: Boolean = false, block: suspend TC.() -> Unit)