-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Add delay
and now
functions. Add test runtime with emulated clock to test code with delays without spending actual time on delays.
Would be invaluable for testing asynchronous code, not sure is this even possible with current Loom design but might be worth a try.
There is similar feature in cats-effect, separate effect evaluator with emulated time: https://typelevel.org/cats-effect/docs/core/test-runtime#mocking-time
Metadata
Metadata
Assignees
Labels
No labels