Could someone provide an advanced example of using the new TestScope and TestScope.launch while testing with coroutines?
It seems like in the new kotlinx.coroutines.test release they've added somewhat called TestScope to the library. Also, they've deprecated the old TestCoroutineDispatcher and told to use TestScope.runTests instead, however, they didn't add much documentation on how to use it. Everything I could find is this.
Can anyone provide me with some extra examples of usage in different scenarios?