UncaughtExceptionCaptor

Deprecated (with error)

Deprecated for removal without a replacement. Consider whether the default mechanism of handling uncaught exceptions is sufficient. If not, try writing your own `CoroutineExceptionHandler` and please report your use case at https://github.com/Kotlin/kotlinx.coroutines/issues.

Access uncaught coroutine exceptions captured during test execution.

Inheritors

Properties

Link copied to clipboard

List of uncaught coroutine exceptions.

Functions

Link copied to clipboard
abstract fun cleanupTestCoroutines()

Call after the test completes to ensure that there were no uncaught exceptions.