Hi all, Is there any testable error handling with ...
# coroutines
m
Hi all, Is there any testable error handling with coroutines without try catch?
e
You could run your coroutine in a
runBlocking()
and it any thrown errors will be thrown out of it. Typically you’d use
assertThrows()
for verifying thrown exceptions.