tylerwilson
06/24/2019, 6:28 PMelizarov
06/24/2019, 8:07 PMtylerwilson
06/24/2019, 8:09 PMelizarov
06/24/2019, 8:44 PMribesg
06/25/2019, 6:35 AMtylerwilson
06/26/2019, 3:20 PMIllegalStateException: Module with the Main dispatcher had failed to initialize. For tests Dispatchers.setMain from kotlinx-coroutines-test module can be used
So I add that to my @BeforeTest setUp method, then I get this:
Dispatchers.setMain(Dispatchers.Main) is prohibited, probably Dispatchers.resetMain() should be used instead
This is why I asked for an existing working same of testing methods that internally use coroutines from commonTest. I can live with putting all API tests in android Test if needed, but I would like them to be tested when running iosTest too… Thank you.tylerwilson
06/26/2019, 3:22 PMtylerwilson
06/26/2019, 3:27 PM