When unit testing coroutines that use the `UI` `Co...
# coroutines
e
When unit testing coroutines that use the
UI
CoroutineContext
from
kotlinx-coroutines-android
, is it common to create an indirection that replaces
UI
with
CommonPool
similar to testing RxJava with schedulers? I don’t think using power mock on the android handler class is the way to solve this.