Package-level declarations
Types
Link copied to clipboard
open class CoroutineTest(context: CoroutineContext = EmptyCoroutineContext, testDispatcherBuilder: (TestCoroutineScheduler) -> TestDispatcher = { StandardTestDispatcher(it) }) : CoroutineTestRule, AttachedDisposables
Base class for unit testing coroutine based code.
Link copied to clipboard
open class CoroutineTestRule(testDispatcherBuilder: (TestCoroutineScheduler) -> TestDispatcher = { StandardTestDispatcher(it) }, context: CoroutineContext = EmptyCoroutineContext)
Helper class for unit Tests that sets up dispatchers with a TestDispatcherConfig on every test run.
Link copied to clipboard
abstract class EventNotifierTest<E>(context: CoroutineContext = EmptyCoroutineContext) : CoroutineTest
Base class for unit testing an EventNotifier.
Link copied to clipboard
Base class for unit testing an EventNotifier.
Link copied to clipboard
A CoroutineDispatcherConfig for unit tests - dispatching everything to the given dispatcher.
Link copied to clipboard
Functions
Link copied to clipboard
Creates a TestScope.backgroundScope with a ContextualValRoot for ViewModels.