igorvd
04/10/2019, 6:35 PMdelays from coroutines in android espresso testing?streetsofboston
04/10/2019, 6:58 PMTestCoroutineContext.
Then in your tests, you can forward time by calling advanceTimeBy or advanceTimeTo (or triggerActions) on this TestCoroutineContext.dewildte
04/10/2019, 7:06 PMigorvd
04/10/2019, 7:09 PMTestCoroutineContext in an unit test with mockwebserver, and it gets in a infinite-loop, the test never finishes.
(It worked on a simple test with delay)