runFlowTest

fun TestScope.runFlowTest(block: suspend FlowTestScope.() -> Unit)

Start a unit test for testing suspend functions and Kotlin Flows using existing TestScope.


fun runFlowTest(block: suspend FlowTestScope.() -> Unit)

Create a new TestScope and start a unit test for testing Kotlin Flow / suspend functions.