You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New kotlinx.coroutines.test provides smart and convenientrunTest {} implementation, that provides sort of vurtual time, "eating" delay() calls and advancing "system" time accordingly, also providing advanceTimeBy(duration) convenienct method.
Clock.System.Now() as for now is not compatible with it so testing anything that uses kotlinx.datetime provides severe and hard to understand test-time bugs.
The text was updated successfully, but these errors were encountered:
New kotlinx.coroutines.test provides smart and convenient
runTest {}
implementation, that provides sort of vurtual time, "eating"delay()
calls and advancing "system" time accordingly, also providingadvanceTimeBy(duration)
convenienct method.Clock.System.Now()
as for now is not compatible with it so testing anything that uses kotlinx.datetime provides severe and hard to understand test-time bugs.The text was updated successfully, but these errors were encountered: