runBlockingTestProvided fix
Pre-release
Pre-release
Features
- Added
CoroutineScope
factories which takeCoroutineContext
as a sole parameter for complexCoroutineScope
creation.
Test features
- Added
TestBasicDispatcherProvider
factory which usesCommonPool
fordefault
andio
, but a shared single-threadedExecutorCoroutineDispatcher
formain
andmainImmediate
to provide "natural" dispatch behavior in tests withoutDispatchers.setMain(...)
.
Bug fixes and improvements
runBlockingTestProvided
now uses the sameTestCoroutineDispatcher
as itsContinuationInterceptor
and in itsTestDispatcherProvider
(#15).runBlockingProvided
now usesTestBasicDispatcherProvider
as itsDispatcherProvider
.