Package-level declarations
Types
Link copied to clipboard
A JUnit Test Rule that sets the main coroutine dispatcher to a TestDispatcher for unit testing.
Link copied to clipboard
class TestDispatchersProvider(testDispatcher: CoroutineDispatcher = UnconfinedTestDispatcher()) : DispatchersProvider
Test implementation of DispatchersProvider that provides a single test dispatcher for all coroutine contexts.
Functions
Link copied to clipboard
Verifies that a specific interaction with a mock object in a coroutine context never occurred.
Link copied to clipboard
A helper function to run a test using the UnconfinedTestDispatcher.
Link copied to clipboard
Creates a new instance of TestScope with the provided CoroutineContext.
Link copied to clipboard
Verifies that a specific interaction with a mock object never occurred.