I wrote about time control in tests using KotlinX....
# test
c
I wrote about time control in tests using KotlinX.Coroutines.Test: https://opensavvy.gitlab.io/groundwork/prepared/docs/features/time.html The article uses the Prepared helpers (which provide
Clock
s or allow setting a specific time using an Instant directly) but most things mentioned also works if you're using any other testing library.