You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New testIn(CoroutineScope) API allows testing multiple flows without nesting lambdas.
New skip(Int) API can replace one or more calls to awaitItem() where the result is not needed.
Changed
Removed timeout parameter. The new runTest API from kotlinx.coroutines enforces a timeout automatically.
Documented that flows are implicitly canceled at the end of the test lambda. This has been the behavior for a few versions by accident, but now it is explicit and documented.
Cancel (and friends) are now suspending functions to ensure that non-canceleable coroutines complete and their effects are observed deterministically.