Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mateusznakodach/kt-time-traveler
Kotlin / Java library for one source of truth time in whole application. It's also provides mutable clock for testing.
https://github.com/mateusznakodach/kt-time-traveler
clock java java-library jvm kotlin scala spring spring-boot test testing time time-manipulation timetraveling
Last synced: 2 days ago
JSON representation
Kotlin / Java library for one source of truth time in whole application. It's also provides mutable clock for testing.
- Host: GitHub
- URL: https://github.com/mateusznakodach/kt-time-traveler
- Owner: MateuszNaKodach
- License: apache-2.0
- Created: 2019-07-09T10:05:11.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-07-16T15:38:42.000Z (over 3 years ago)
- Last Synced: 2023-07-07T14:15:44.790Z (over 1 year ago)
- Topics: clock, java, java-library, jvm, kotlin, scala, spring, spring-boot, test, testing, time, time-manipulation, timetraveling
- Language: Kotlin
- Homepage:
- Size: 111 KB
- Stars: 3
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# kt-time-traveler
Time injection library for JVM written in Kotlin. Works with Java as well.
One source of true time in whole application. It's also provides mutable clock for testing.## Time - one source of truth
It's a good practice in software development to have one source of truth for any data.
This is also applicable for time in our applications.## Why is this library useful?
### Tests based on time
## Configuration
### With Spring Boot Starter
Configure time in your application using application.yaml file.
```
TODO
```### Without Spring Boot