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
Is your feature request related to a problem? Please describe.
There are some utils and helper classes which can be controlled via one or more time parameters:
Duration is flexible, but IMHO too technically. I would prefer writing waitFor(0.3) instead of waitFor(Duration.ofMillis(300)). I explicitly decided against Duration because of that.
Duration supports a lot of time features you may not need in test context. ea. ofNanos(), ofHours(), ofDays()
I would support Duration as method overloading, but do not mark the current easy readable implementations as @deprecated
Is your feature request related to a problem? Please describe.
There are some utils and helper classes which can be controlled via one or more time parameters:
The time value is given as int, wich represents seconds or milli seconds. That can be confusing and be a cause of wrong using of that classes/methods.
Describe the solution you'd like
Add Java
Duration
support and mark current implementations as deprecated.The text was updated successfully, but these errors were encountered: