Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 6 days ago
JSON representation

Kotlin / Java library for one source of truth time in whole application. It's also provides mutable clock for testing.

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