UncaughtExceptionCaptor

interface UncaughtExceptionCaptor

Access uncaught coroutine exceptions captured during test execution.

Functions

cleanupTestCoroutines
Link copied to clipboard
abstract fun cleanupTestCoroutines()
Call after the test completes to ensure that there were no uncaught exceptions.

Properties

uncaughtExceptions
Link copied to clipboard
abstract val uncaughtExceptions: List<Throwable>
List of uncaught coroutine exceptions.

Inheritors

TestCoroutineExceptionHandler
Link copied to clipboard
TestCoroutineScope
Link copied to clipboard