Erik02/11/2020, 3:54 PM
, then any exceptions are swallowed (although the stack traces are printed). What is the general pattern to work with expected exceptions in unit tests and coroutines on Android?
Andrew02/12/2020, 2:41 AM
Erik02/12/2020, 8:33 AM
is replaced in the tests dispatcher. I have verified this by simply
, which prints some
Andrew02/12/2020, 4:46 PM
Erik02/12/2020, 7:33 PM
) coroutine. So my coroutine will now handle the exception by propagating that information through other mechanisms unrelated to coroutines and exceptions.