https://kotlinlang.org logo
#coroutines
Title
# coroutines
e

Eugen Martynov

07/12/2021, 9:28 AM
Maybe already asked - I run test with `
Copy code
runBlockingTest
And it swallows exception without failing test
I see in documentation
Copy code
* Unhandled exceptions thrown by coroutines in the test will be re-thrown at the end of the test.
but looks it caught somewhere
Copy code
Exception in thread "Test worker @coroutine#2" java.lang.ClassCastException: class java.lang.RuntimeException
There is slight difference but with that I still have green test
Known issue without solution yet
81 Views