[FEATURE]: Abstraction of time so that time can be manipulated in tests · Issue #482 · conductor-oss/conductor · GitHub
More Web Proxy on the site http://driver.im/
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
We have a use case where we want to manipulate time during testing. Currently, conductor uses native methods (System.currentTimeMillis) to get the time at different places. This makes testing hard incase you want to manipulate time.
We want an ability in conductor to have a abstracted service that manages the time, so that we can use that service to modify the time as per the need during testing.
Describe Preferred Solution
A service having static methods to return current time.
Describe Alternatives
The text was updated successfully, but these errors were encountered:
Describe the Feature Request
We have a use case where we want to manipulate time during testing. Currently, conductor uses native methods (
System.currentTimeMillis
) to get the time at different places. This makes testing hard incase you want to manipulate time.We want an ability in conductor to have a abstracted service that manages the time, so that we can use that service to modify the time as per the need during testing.
Describe Preferred Solution
A service having static methods to return current time.
Describe Alternatives
The text was updated successfully, but these errors were encountered: