Skip to content

kite-testing / jp.co.cyberagent.kite.testing / runTestKiteDsl

runTestKiteDsl

@ExperimentalCoroutinesApi fun runTestKiteDsl(kiteContext: KiteContext = KiteContext(), testCoroutineScope: TestCoroutineScope = TestCoroutineScope(), block:TestKiteDslScope.() ->Unit):Unit

Runs kite DSL test inside a TestKiteDslScope.

Parameters

kiteContext - initiate the TestKiteDslScope with this additional context.

testCoroutineScope - initiate the TestCoroutineScope with this TestCoroutineDispatcher.

block - invoke this test block inside the TestKiteDslScope.