-
Notifications
You must be signed in to change notification settings - Fork 0
flsusp/JavaTimeMachine
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The Java Time Machine allows you to navigate on time without having to change the operation system time behaviour. It is useful for testing applications that have strong time based requirements like retroactive and delayed operations. The idea is to avoid calling <code>new Date()</code> on your application code, replacing this call by one of <code>TimeMachine.geTime()</code> or <code>TimeMachine.getTimeInMillis()</code>. On tests you can use the navigation methods to redefine the time for your application and implement test scenarios that stress the application behaviour over the time.
About
An API that allows navigation on time during the execution of unit tests. It is useful for testing functionalities that are time sensitive.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published