This repository is used to explore, learn and document different Java libraries and Java (especially Java 8) features.
Spock is used as testing framework for the Java libraries because of the great readability, syntax and build in features. For the Java API tests we use JUnit to not mix up some features and methods from groovy.
In his book "Clean Code" (Chapter 8: Boundaries), Robert C. Martin recommends to write learning tests. Instead of trying out third party code in our production code we write tests to explore the API and check if it behaves like we expect.
To run all test just hit the following command or use the IntelliJ run configuration from this repo
gradlew test
After the test you can open the build/reports/tests/index.html
file in your browser to see all generated test results.
There are also more detailed reports for all spock tests in build/spock-reports/index.html
.
To check for the latest dependency versions run
gradlew dependencyUpdates -Drevision=release
- guava
- Google Core Libraries for Java
- Project on Github
- jBcrypt
- Implementation the OpenBSD Blowfish password hashing algorithm
- Project on Github
- caffeine
- A high performance, near optimal caching library based on Java 8
- Project on Github
- Java JWT
- Java implementation of JSON Web Token (JWT)
- Project on Github